File manager - Edit - /var/www/html/portalHomolog/app/Http/Requests/AtaIndexRequest.php
Back
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Rule; class AtaIndexRequest extends FormRequest { public function authorize(): bool { return true; } /** * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string> */ public function rules(): array { return [ 'q' => ['nullable', 'string', 'max:255'], 'nr_ata' => ['nullable', 'string', 'max:50'], 'nr_processo' => ['nullable', 'string', 'max:50'], 'id_secretaria_ata' => [ 'nullable', 'uuid', Rule::exists('structures', 'id')->where(fn ($query) => $query->where('status', 'ATIVADO')), ], 'dt_data_ata' => ['nullable', 'date_format:Y-m-d'], 'page' => ['nullable', 'integer', 'min:1'], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings