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