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;
    }
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;
    }
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 ; }
Fetches all the objects of the given api.

@param  array  $parameters
@return array
Fetches all the objects of the given api .