File manager - Edit - /var/www/html/spdc/api/app/Http/Requests/ShelterHistoricRequest.php
Back
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ShelterHistoricRequest 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 [ "type" => 'required|string|in:ABERTURA DE ABRIGO,FECHAMENTO DE ABRIGO,HORÁRIO REAL ADICIONADO,CONVERTIDO EM ABRIGO,CONVERTIDO EM PONTO DE APOIO,ABRIGO COM SUPERLOTAÇÃO', 'shelter_id' => 'required|exists:shelters,id', "manager_id" =>'exists:shelter_managers,id', "date" => 'string|max:255|min:5', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings