src/Api/Tag.php
public function index(string $domain, int $limit = 100)
    {
        Assert::stringNotEmpty($domain);
        Assert::range($limit, 1, 1000);

        $params = [
            'limit' => $limit,
        ];

        $response = $this->httpGet(sprintf('/v3/%s/tags', $domain), $params);

        return $this->hydrateResponse($response, IndexResponse::class);
    }
public function index(string $domain, int $limit = 100)
    {
        Assert::stringNotEmpty($domain);
        Assert::range($limit, 1, 1000);

        $params = [
            'limit' => $limit,
        ];

        $response = $this->httpGet(sprintf('/v3/%s/tags', $domain), $params);

        return $this->hydrateResponse($response, IndexResponse::class);
    }
public function index ( string $ domain , int $ limit = 100 ) { Assert :: stringNotEmpty ( $ domain ) ; Assert :: range ( $ limit , 1 , 1000 ) ; $ params = [ 'limit' => $ limit , ] ; $ response = $ this -> httpGet ( sprintf ( '/v3/%s/tags' , $ domain ) , $ params ) ; return $ this -> hydrateResponse ( $ response , IndexResponse :: class ) ; }
Returns a list of tags.


@return IndexResponse|ResponseInterface
Returns a list of tags .