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\Country;
/**
* PWWEB\Localisation\Requests\CreateCountryRequest CreateCountryRequest.
*
* The create request class for the Country
* Class CreateCountryRequest
* @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 CreateCountryRequest 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 Country::$rules;