public function setPagination($page, $perPage)
    {
        $this->setParam('page', $page);
        $this->setParam('per_page', $perPage);

        return $this;
    }
public function setPagination($page, $perPage)
    {
        $this->setParam('page', $page);
        $this->setParam('per_page', $perPage);

        return $this;
    }
public function setPagination ( $ page , $ perPage ) { $ this -> setParam ( 'page' , $ page ) ; $ this -> setParam ( 'per_page' , $ perPage ) ; return $ this ; }
The page number and number of results used for pagination. By default
results are paginated 30 per page.

@param int $page
@param int $perPage

@return Event
The page number and number of results used for pagination . By default results are paginated 30 per page .