1 | <?php |
||
10 | class AbilityFormRequest extends FormRequest |
||
11 | { |
||
12 | /** |
||
13 | * Determine if the user is authorized to make this request. |
||
14 | * |
||
15 | * @throws \Cortex\Foundation\Exceptions\GenericException |
||
16 | * |
||
17 | * @return bool |
||
18 | */ |
||
19 | public function authorize(): bool |
||
29 | |||
30 | /** |
||
31 | * Get the validation rules that apply to the request. |
||
32 | * |
||
33 | * @return array |
||
34 | */ |
||
35 | public function rules(): array |
||
39 | } |
||
40 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.