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