Cartalyst\Stripe\Pager::fetch PHP Метод

fetch() публичный Метод

Fetches all the objects of the given api.
public fetch ( array $parameters = [] ) : array
$parameters array
Результат array
    public function fetch(array $parameters = [])
    {
        $this->api->setPerPage(100);
        $results = $this->processRequest($parameters);
        while ($this->nextToken) {
            $results = array_merge($results, $this->processRequest($parameters));
        }
        return $results;
    }