Created
July 18, 2017 17:06
-
-
Save mikimaine/996c88e55cf5f8e095cb8f0bb667e5ac to your computer and use it in GitHub Desktop.
TestRequest
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
<?php | |
namespace App\Http\Requests; | |
use Illuminate\Validation\Rule; | |
use App\Http\Requests\Request; | |
/** | |
* Class TestRequest. | |
*/ | |
class TestRequest extends Request | |
{ | |
/** | |
* Determine if the user is authorized to make this request. | |
* | |
* @return bool | |
*/ | |
public function authorize() | |
{ | |
return true; | |
} | |
/** | |
* Get the validation rules that apply to the request. | |
* | |
* @return array | |
*/ | |
public function rules() | |
{ | |
return []; | |
} | |
/** | |
* Get custom messages for validator errors. | |
* | |
* @return array | |
*/ | |
public function messages() | |
{ | |
return []; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment