ldc-domaine-de-lanvaux/app/Http/Requests/StoreWhoareweExpertiseRequest.php
Alexis Gousseau 4c39db12d7 Refonte
2022-08-05 09:38:44 +00:00

30 lines
548 B
PHP

<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreWhoareweExpertiseRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return boolean
*/
public function authorize(): bool
{
return auth()->check();
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules(): array
{
return [
'text' => 'required',
];
}
}