Total Complexity | 7 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CategoryRequest extends Request |
||
8 | { |
||
9 | /** |
||
10 | * Determine if the user is authorized to make this request. |
||
11 | * |
||
12 | * @return bool |
||
13 | */ |
||
14 | 2 | public function authorize() |
|
17 | } |
||
18 | |||
19 | /** |
||
20 | * Get the validation rules that apply to the request. |
||
21 | * |
||
22 | * @return array |
||
23 | */ |
||
24 | 2 | public function rules() |
|
27 | 2 | ]; |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * Build Query with Filters |
||
32 | * @return Category |
||
33 | */ |
||
34 | 2 | public function getCategoryByFilters() |
|
50 |