| 1 | <?php |
||
| 13 | class NoteRequest 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() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get the error messages for the defined validation rules. |
||
| 39 | * |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | public function messages() |
||
| 49 | |||
| 50 | protected function getValidatorInstance() |
||
| 58 | } |
||
| 59 |