__construct() public method

Constructor
public __construct ( mixed $count, integer $limit, array $params = [] )
$count mixed Either an integer or a Collection
$limit integer The number of items per page
$params array Additional parameters to control the pagination object
Example #1
0
 public function __construct($params = null)
 {
     parent::__construct($params);
 }
Example #2
0
 public function __construct($totalItems, $currentPage = 1, $itemsPerPage = 20)
 {
     parent::__construct($totalItems, $currentPage, $itemsPerPage);
 }