public function getPaginationMetaData()
    {
        $pagination = [
            'count' => $this->count,
            'offset' => $this->offset,
            'limit' => $this->limit,
            'next_page_params' => $this->getNextPageParams(),
        ];

        return $pagination;
    }
public function getPaginationMetaData()
    {
        $pagination = [
            'count' => $this->count,
            'offset' => $this->offset,
            'limit' => $this->limit,
            'next_page_params' => $this->getNextPageParams(),
        ];

        return $pagination;
    }
public function getPaginationMetaData ( ) { $ pagination = [ 'count' => $ this -> count , 'offset' => $ this -> offset , 'limit' => $ this -> limit , 'next_page_params' => $ this -> getNextPageParams ( ) , ] ; return $ pagination ; }
Get a json encoded array with pagination metadata
Get a json encoded array with pagination metadata