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