Total Complexity | 3 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class LoggingController extends DataController |
||
12 | { |
||
13 | public function index() |
||
14 | { |
||
15 | if (request()->filled('user_id')) { |
||
16 | $this->repository->pushCriteria(new Where('user_id', request('user_id'))); |
||
17 | } |
||
18 | |||
19 | return parent::index(); |
||
20 | } |
||
21 | |||
22 | protected function getRepository() |
||
25 | } |
||
26 | } |
||
27 |