1 | <?php |
||
8 | class StoreRequest extends BaseFormRequest |
||
9 | { |
||
10 | protected $configFactory; |
||
11 | |||
12 | public function __construct(ConfigContract $config) |
||
18 | |||
19 | /** |
||
20 | * Determine if the user is authorized to make this request. |
||
21 | * |
||
22 | * @return bool |
||
23 | */ |
||
24 | public function authorize() |
||
28 | |||
29 | /** |
||
30 | * Get the validation rules that apply to the request. |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | public function rules() |
||
38 | |||
39 | protected function getMessages() |
||
47 | |||
48 | protected function getAttributes() |
||
54 | } |
||
55 |