File manager - Edit - /var/www/html/gop/api/app/Http/Requests/Store/StoreManyDepartmentRequest.php
Back
<?php namespace App\Http\Requests\Store; use Illuminate\Foundation\Http\FormRequest; class StoreManyDepartmentRequest 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 [ 'departments' => 'required|array|min:1', 'departments.*.name' => 'required|min:3|max:255', 'departments.*.acronym' => 'nullable|string|max:12', 'departments.*.organization_id' => 'required', 'departments.*.status' => 'required|boolean', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings