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