check(); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'title' => 'required|max:255', 'price' => 'required', 'duration' => 'required' ]; } /** * Get the validation attributes that apply to the request. * * @return array */ public function attributes() { return [ // ]; } /** * Get the validation messages that apply to the request. * * @return array */ public function messages() { return [ // ]; } }