| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class UserLanguageRepo 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 | * @throws \Opulence\Orm\OrmException |
||
| 22 | */ |
||
| 23 | public function getPage(int $limitFrom, int $pageSize, array $orders, array $conditions, array $params): array |
||
| 24 | { |
||
| 25 | /** @see UserLanguageSqlDataMapper::getPage() */ |
||
| 26 | return $this->getFromDataMapper('getPage', [$limitFrom, $pageSize, $orders, $conditions, $params]); |
||
|
|
|||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $identifier |
||
| 31 | * |
||
| 32 | * @return Entity|null |
||
| 33 | * @throws \Opulence\Orm\OrmException |
||
| 34 | */ |
||
| 35 | public function getByIdentifier(string $identifier): ?Entity |
||
| 39 | } |
||
| 40 | } |
||
| 41 |