for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\Porpaginas\Pager;
use Zenstruck\Porpaginas\Page;
use Zenstruck\Porpaginas\Pager;
/**
* @author Kevin Bond <[email protected]>
*/
final class PagePager extends Pager
{
private $page;
public function __construct(Page $page)
$this->page = $page;
}
* {@inheritdoc}
public function getCurrentPage()
return $this->page->getCurrentPage();
public function getLimit()
return $this->page->getCurrentLimit();
public function count()
return $this->page->count();
public function totalCount()
return $this->page->totalCount();
public function getResults()
return $this->page;