File manager - Edit - /var/www/html/spdc/api/app/Http/Requests/VolunteerRequest.php
Back
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class VolunteerRequest 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 [ 'neighbourhood' => 'required|max:255', 'notes' => 'nullable|string', 'is_active' => 'nullable|boolean', 'name' => 'required|string|max:255', 'document' => 'required|string|max:255', 'specialty' => 'required|string|max:255', 'contact' => 'required|string|max:15', 'is_whatsapp' => 'nullable|boolean', 'zip_code' => 'required|string|max:10', 'street' => 'required|string|max:255', 'number' => 'required|string|max:255', 'city' => 'required|string|max:255', 'reference' => 'required|string|max:255', 'nupdec_id' => 'nullable|exists:nupdec,id', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings