Zend\Paginator\Adapter\Callback::__construct
Constructs instance.
Signature
public function __construct(CallbackHandler|callable
$itemsCallback,
CallbackHandler|callable
$countCallback )
Parameters
$itemsCallback
— object- Callback to be executed to retrieve the items for a page.
$countCallback
— object- Callback to be executed to retrieve the total number of items.