| 1 | <?php |
||
| 7 | class VendorUpdateFormRequest extends Request |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Guard |
||
| 11 | */ |
||
| 12 | private $auth; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * VendorUpdateFormRequest constructor. |
||
| 16 | * @param Guard $auth |
||
| 17 | */ |
||
| 18 | public function __construct(Guard $auth) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Determine if the user is authorized to make this request. |
||
| 27 | * |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | public function authorize() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Get the validation rules that apply to the request. |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function rules() |
||
| 49 | } |