Core/src/Iterator/PageIteratorTrait.php
private function executeCall()
    {
        $call = $this->call;
        list($results, $shouldContinue) = $this->mapResults(
            $call($this->callOptions)
        );

        $this->set(
            $this->resultTokenPath,
            $this->callOptions,
            $this->determineNextResultToken($results, $shouldContinue)
        );

        return $results;
    }
private function executeCall()
    {
        $call = $this->call;
        list($results, $shouldContinue) = $this->mapResults(
            $call($this->callOptions)
        );

        $this->set(
            $this->resultTokenPath,
            $this->callOptions,
            $this->determineNextResultToken($results, $shouldContinue)
        );

        return $results;
    }
private function executeCall ( ) { $ call = $ this -> call ; list ( $ results , $ shouldContinue ) = $ this -> mapResults ( $ call ( $ this -> callOptions ) ) ; $ this -> set ( $ this -> resultTokenPath , $ this -> callOptions , $ this -> determineNextResultToken ( $ results , $ shouldContinue ) ) ; return $ results ; }
Executes the provided call to get a set of results.

@return array
Executes the provided call to get a set of results .