__construct(\Zend\Stdlib\CallbackHandler | \Zend\Paginator\Adapter\callable $itemsCallback, \Zend\Stdlib\CallbackHandler | \Zend\Paginator\Adapter\callable $countCallback)
\Zend\Stdlib\CallbackHandler\Zend\Paginator\Adapter\callable
Callback to be executed to retrieve the items for a page.
\Zend\Stdlib\CallbackHandler\Zend\Paginator\Adapter\callable
Callback to be executed to retrieve the total number of items.
count() : int
Executes the {$countCallback}.
int
getItems(int $offset, int $itemCountPerPage) : array
Executes the {$itemsCallback}.
int
Page offset
int
Number of items per page
array
$countCallback : \Zend\Stdlib\CallbackHandler
$itemsCallback : \Zend\Stdlib\CallbackHandler