Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | trait RestResourceCount |
||
17 | { |
||
18 | /** |
||
19 | * Before lifecycle method for count method. |
||
20 | * |
||
21 | * @param array $criteria |
||
22 | * @param array $search |
||
23 | */ |
||
24 | public function beforeCount(array &$criteria, array &$search): void |
||
25 | { |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Before lifecycle method for count method. |
||
30 | * |
||
31 | * @param array $criteria |
||
32 | * @param array $search |
||
33 | * @param integer $count |
||
34 | */ |
||
35 | public function afterCount(array &$criteria, array &$search, int &$count): void |
||
36 | { |
||
37 | } |
||
39 |