Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait SearchHandlerTrait |
||
10 | { |
||
11 | /** |
||
12 | * Handle search action. |
||
13 | * |
||
14 | * @param Request $request |
||
15 | * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector |
||
16 | * @throws UnauthorizedException |
||
17 | */ |
||
18 | 3 | public function handleSearch(Request $request) |
|
31 | } |
||
32 | |||
33 | abstract protected function beforeInit(); |
||
34 | abstract protected function init(); |
||
35 | abstract protected function bound(); |
||
36 | abstract protected function crud(): CRUD; |
||
37 | abstract protected function can($action): bool; |
||
38 | } |
||
39 |