Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/Modules/Property/app/Http/Requests/PropertyPurposeRequest.php
Назад
<?php namespace Modules\Property\app\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Auth; class PropertyPurposeRequest extends FormRequest { /** * Get the validation rules that apply to the request. */ public function authorize(): bool { return Auth::guard('admin')->check() ? true : false; } public function rules(): array { $rules = [ 'title' => 'required|string|max:255', ]; return $rules; } public function messages(): array { return [ 'title.required' => __('Title is required.'), 'title.max' => __('Title must be string with a maximum length of 255 characters.'), ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.2 |
proxy
|
phpinfo
|
Настройка