Файловый менеджер - Редактировать - /home/clickysoft/public_html/charliapp-v2.clickysoft.net/app/Http/Requests/ChatLikeRequest.php
Назад
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Gate; class ChatLikeRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return Gate::allows('chat_create'); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'reaction' => [ 'required', 'integer', 'in:1,2,3,4' ], 'chat_id' => [ 'required', 'integer', 'exists:chats,id' ], ]; } public function attributes() { return [ 'reaction' => 'Reaction', 'chat_id' => 'Chat ID', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка