Total Complexity | 2 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | final class EntryRepository extends EntityRepository |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * Counts all entries |
||
19 | * |
||
20 | * @return int |
||
21 | */ |
||
22 | 12 | public function countAll() : int |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * Gets the list of entries |
||
36 | * |
||
37 | * @param null|int $limit |
||
38 | * @param null|int $offset |
||
39 | * |
||
40 | * @return Entry[] |
||
41 | */ |
||
42 | 1 | public function getList(?int $limit, ?int $offset) : array |
|
57 |