change Zend\Paginator\Paginator::getItemsByPage() as suggested by @Martin-P