src/Table/Table/Pagination.php
public function paginate(array $params)
    {

        // page
        if (isset($params[$this->getParamPage()])) {
            $this->setPage($params[$this->getParamPage()]);
        }

        return $this;
    }
public function paginate(array $params)
    {

        // page
        if (isset($params[$this->getParamPage()])) {
            $this->setPage($params[$this->getParamPage()]);
        }

        return $this;
    }
public function paginate ( array $ params ) { // page if ( isset ( $ params [ $ this -> getParamPage ( ) ] ) ) { $ this -> setPage ( $ params [ $ this -> getParamPage ( ) ] ) ; } return $ this ; }
Fast pagination setup

@param array $params
@return $this
Fast pagination setup