| 1 | <?php |
||
| 7 | class ArticleRequest extends FormRequest |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Get the validation rules that apply to the request. |
||
| 12 | * |
||
| 13 | * @return array |
||
| 14 | */ |
||
| 15 | public function rules() |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Determine if the user is authorized to make this request. |
||
| 28 | * |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | public function authorize() |
||
| 35 | |||
| 36 | } |
||
| 37 |