| 1 | <?php |
||
| 7 | class CategoryRequest extends FormRequest |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Get the validation rules that apply to the request. |
||
| 12 | * |
||
| 13 | * @return array |
||
| 14 | */ |
||
| 15 | public function rules() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Determine if the user is authorized to make this request. |
||
| 25 | * |
||
| 26 | * @return bool |
||
| 27 | */ |
||
| 28 | public function authorize() |
||
| 32 | |||
| 33 | } |
||
| 34 |