1 | <?php |
||
13 | abstract class PermissionRequest extends FormRequest |
||
14 | { |
||
15 | /** |
||
16 | * Determine if the user is authorized to make this request. |
||
17 | * |
||
18 | * @return bool |
||
19 | */ |
||
20 | public function authorize() |
||
24 | |||
25 | /** |
||
26 | * Get the validation rules that apply to the request. |
||
27 | * |
||
28 | * @return array |
||
29 | */ |
||
30 | public function rules() |
||
40 | |||
41 | /** |
||
42 | * Get the query search value. |
||
43 | * |
||
44 | * @return string |
||
45 | */ |
||
46 | public function searchValue(): string |
||
50 | } |
||
51 |