public function getPage($pageNumber)
    {
        $response = $this->makeQuery($pageNumber);
        $className = $this->typeClass->objectClass;
        $objects = array();
        if (!isset($response->data) || !$response->data)
            return array();
        foreach ($response->data as $object) {
            $objects[] = new $className($this->api, $this->typeClass, $object);
        }

        return $objects;
    }
public function getPage($pageNumber)
    {
        $response = $this->makeQuery($pageNumber);
        $className = $this->typeClass->objectClass;
        $objects = array();
        if (!isset($response->data) || !$response->data)
            return array();
        foreach ($response->data as $object) {
            $objects[] = new $className($this->api, $this->typeClass, $object);
        }

        return $objects;
    }
public function getPage ( $ pageNumber ) { $ response = $ this -> makeQuery ( $ pageNumber ) ; $ className = $ this -> typeClass -> objectClass ; $ objects = array ( ) ; if ( ! isset ( $ response -> data ) || ! $ response -> data ) return array ( ) ; foreach ( $ response -> data as $ object ) { $ objects [ ] = new $ className ( $ this -> api , $ this -> typeClass , $ object ) ; } return $ objects ; }
Fetch objects for the one-based page number.

@param $pageNumber
@return array
Fetch objects for the one - based page number .