| 1 | <?php |
||
| 7 | abstract class Request extends FormRequest |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Validate the input. |
||
| 11 | * |
||
| 12 | * @param \Illuminate\Validation\Factory $factory |
||
| 13 | * |
||
| 14 | * @return \Illuminate\Validation\Validator |
||
| 15 | */ |
||
| 16 | public function validator($factory) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Sanitize the input. |
||
| 25 | * https://laracasts.com/discuss/channels/general-discussion/laravel-5-modify-input-before-validation/replies/34366. |
||
| 26 | * |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | protected function sanitizeInput() |
||
| 37 | } |
||
| 38 |