public function setPagination (int $currentPage=1, int $perPage=20, int $adjacent=1, int $totalCount=0)
    {
        $this->currentPage     	= $currentPage;
        $this->perPage         	= $perPage;
        $this->adjacent 		= $adjacent;
        $this->totalCount      	= $totalCount;
    }
public function setPagination (int $currentPage=1, int $perPage=20, int $adjacent=1, int $totalCount=0)
    {
        $this->currentPage     	= $currentPage;
        $this->perPage         	= $perPage;
        $this->adjacent 		= $adjacent;
        $this->totalCount      	= $totalCount;
    }
public function setPagination ( int $ currentPage = 1 , int $ perPage = 20 , int $ adjacent = 1 , int $ totalCount = 0 ) { $ this -> currentPage = $ currentPage ; $ this -> perPage = $ perPage ; $ this -> adjacent = $ adjacent ; $ this -> totalCount = $ totalCount ; }
Sets pagination properties
@param int $page
@param int $perPage
@param int $adjacent
@param int $totalCount
Sets pagination properties