File manager - Edit - /var/www/html/gop/api/app/Http/Requests/Store/StorePrestadorRequest.php
Back
<?php namespace App\Http\Requests\Store; use Illuminate\Foundation\Http\FormRequest; class StorePrestadorRequest 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<string, mixed> */ public function rules() { return [ 'nome' => 'required|string|max:255', 'razao_social' => 'nullable|string|max:255', 'documento' => 'required|string|max:14|unique:prestadores,documento', 'email' => 'nullable|email|max:255', 'telefone' => 'nullable|string|max:20', 'assinatura' => 'nullable|image|mimes:png|max:8192', 'endereco_id' => 'nullable|exists:enderecos,id', 'empresa_id' => 'required|exists:empresas,id', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings