File manager - Edit - /var/www/html/gop/api/app/Http/Requests/UserStoreRequest.php
Back
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UserStoreRequest 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' => 'string|max:255', 'document' => 'string|max:255', 'email' => 'string|email|max:255', 'password' => 'string|min:6', 'user_type_id' => 'integer', 'department_id' => 'uuid', 'organization_id' => 'uuid', 'permissions' => 'array', 'permissions.*' => 'string', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings