src/Api/MailingList.php
public function pages(int $limit = 100)
    {
        Assert::range($limit, 1, 1000);

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

        $response = $this->httpGet('/v3/lists/pages', $params);

        return $this->hydrateResponse($response, PagesResponse::class);
    }
public function pages(int $limit = 100)
    {
        Assert::range($limit, 1, 1000);

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

        $response = $this->httpGet('/v3/lists/pages', $params);

        return $this->hydrateResponse($response, PagesResponse::class);
    }
public function pages ( int $ limit = 100 ) { Assert :: range ( $ limit , 1 , 1000 ) ; $ params = [ 'limit' => $ limit , ] ; $ response = $ this -> httpGet ( '/v3/lists/pages' , $ params ) ; return $ this -> hydrateResponse ( $ response , PagesResponse :: class ) ; }
Returns a paginated list of mailing lists on the domain.

@param int $limit Maximum number of records to return (optional: 100 by default)

@return PagesResponse

@throws \Exception
Returns a paginated list of mailing lists on the domain .