src/Represent/Util/PaginatedCollection.php
public function getParameters($page = null, $limit = null)
    {
        $params = $this->params;

        $params[$this->pageParam]  = null == $page  ? $this->getPage()  : $page;
        $params[$this->limitParam] = null == $limit ? $this->getLimit() : $limit;

        return $params;
    }
public function getParameters($page = null, $limit = null)
    {
        $params = $this->params;

        $params[$this->pageParam]  = null == $page  ? $this->getPage()  : $page;
        $params[$this->limitParam] = null == $limit ? $this->getLimit() : $limit;

        return $params;
    }
public function getParameters ( $ page = null , $ limit = null ) { $ params = $ this -> params ; $ params [ $ this -> pageParam ] = null == $ page ? $ this -> getPage ( ) : $ page ; $ params [ $ this -> limitParam ] = null == $ limit ? $ this -> getLimit ( ) : $ limit ; return $ params ; }
Handles parsing through parameters array

@param null $page
@param null $limit
@return array
Handles parsing through parameters array