Файловый менеджер - Редактировать - /home/clickysoft/public_html/charliapp-v2.clickysoft.net/app/Http/Requests/UserInviteRequest.php
Назад
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Gate; class UserInviteRequest 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 */ public function rules() { return [ 'to_id' => [ 'required', 'integer', 'exists:users,id' ], ]; } function messages () { return [ "to_id.required" => "Please select user.", "to_id.integer" => "Please select valid user.", "to_id.exists" => "Please select valid user.", ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка