| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class PagerfantaBuilder |
||
| 10 | { |
||
| 11 | private $pagerfantaFactory; |
||
| 12 | |||
| 13 | private $ormAdapter; |
||
| 14 | |||
| 15 | 1 | public function __construct(PagerfantaFactory $pagerfantaFactory, DoctrineORMAdapter $ormAdapter) |
|
| 16 | { |
||
| 17 | 1 | $this->pagerfantaFactory = $pagerfantaFactory; |
|
| 18 | 1 | $this->ormAdapter = $ormAdapter; |
|
| 19 | 1 | } |
|
| 20 | |||
| 21 | 1 | public function create($limit, $page) :Pagerfanta |
|
| 29 | } |
||
| 30 | |||
| 31 | 1 | public function createRepresentation($route, $limit, $page) |
|
| 39 | } |
||
| 40 | } |
||
| 41 |