Файловый менеджер - Редактировать - /home/clickysoft/public_html/standup.clickysoft.net/app/Http/Requests/TimeTrackingReportRequest.php
Назад
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Gate; class TimeTrackingReportRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return Gate::allows('time_tracking_access'); } /** * Get the validation rules that apply to the request. * * @return array<string, mixed> */ public function rules() { return [ 'user_id' => [ 'required', 'integer', 'exists:users,worksnap_id' ], 'project_id' => [ 'required', 'integer', 'exists:projects,worksnap_id' ], 'start_date' => [ 'required', 'date_format:Y-m-d', ], 'end_date' => [ 'required', 'date_format:Y-m-d', ], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка