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