for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PWWEB\Localisation\Requests;
use Illuminate\Foundation\Http\FormRequest;
use PWWEB\Localisation\Models\Language;
/**
* App\Http\Requests\Pwweb\Localisation\Models\CreateLanguageRequest CreateLanguageRequest.
*
* The create request class for the Language
* Class CreateLanguageRequest
* @package pwweb/localisation
* @author Frank Pillukeit <[email protected]>
* @author Richard Browne <[email protected]
* @copyright 2020 pw-websolutions.com
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*/
class CreateLanguageRequest extends FormRequest
{
* 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 Language::$rules;