private function makeQuery($pageNumber = 1)
    {
        $params = array(
            'page_size' => $this->pageSize,
            'page' => $pageNumber
        );
        $params = array_merge($params, $this->filter);
        $params = array_merge($params, $this->order);
        $response = $this->api->get($this->typeClass->url(), $params);
        $this->countCached = $response->meta->total_count;

        return $response;
    }
private function makeQuery($pageNumber = 1)
    {
        $params = array(
            'page_size' => $this->pageSize,
            'page' => $pageNumber
        );
        $params = array_merge($params, $this->filter);
        $params = array_merge($params, $this->order);
        $response = $this->api->get($this->typeClass->url(), $params);
        $this->countCached = $response->meta->total_count;

        return $response;
    }
private function makeQuery ( $ pageNumber = 1 ) { $ params = array ( 'page_size' => $ this -> pageSize , 'page' => $ pageNumber ) ; $ params = array_merge ( $ params , $ this -> filter ) ; $ params = array_merge ( $ params , $ this -> order ) ; $ response = $ this -> api -> get ( $ this -> typeClass -> url ( ) , $ params ) ; $ this -> countCached = $ response -> meta -> total_count ; return $ response ; }
Makes a GET request to the API with parameters for page size,
page number, filtering and order values. Returns the API response.

@param int $pageNumber
@return mixed
Makes a GET request to the API with parameters for page size page number filtering and order values . Returns the API response .