| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class PageCategoryRepo extends Repository implements IGridRepo |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param int $limitFrom |
||
| 15 | * @param int $pageSize |
||
| 16 | * @param string[] $orders |
||
| 17 | * @param array $conditions |
||
| 18 | * @param array $params |
||
| 19 | * |
||
| 20 | * @return Entity[] |
||
| 21 | */ |
||
| 22 | public function getPage(int $limitFrom, int $pageSize, array $orders, array $conditions, array $params): array |
||
| 23 | { |
||
| 24 | /** @see PageLayoutSqlDataMapper::getPage() */ |
||
| 25 | return $this->getFromDataMapper('getPage', [$limitFrom, $pageSize, $orders, $conditions, $params]); |
||
|
|
|||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $identifier |
||
| 30 | * |
||
| 31 | * @return Entity|null |
||
| 32 | * @throws \Opulence\Orm\OrmException |
||
| 33 | */ |
||
| 34 | public function getByIdentifier(string $identifier): ?Entity |
||
| 38 | } |
||
| 39 | } |
||
| 40 |