Created
December 19, 2016 10:13
-
-
Save joshbrw/75c3f99fc0a82a3b1a29f9bab0ac1647 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Illuminate\Foundation\Http\FormRequest; | |
class $CLASSNAME$ extends FormRequest | |
{ | |
/** | |
* Authorise the Request | |
* @return bool | |
*/ | |
public function authorize() | |
{ | |
return true; | |
} | |
/** | |
* Get the Validation Rules for this Request. | |
* @return array | |
*/ | |
public function rules() | |
{ | |
return [$RULES$]; | |
} | |
/** | |
* Set custom messages for validator errors. | |
* | |
* @return array | |
*/ | |
public function messages() | |
{ | |
return [$MESSAGES$]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment