Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/app/Http/Requests/Front/VerificationEmailRequest.php
Назад
<?php namespace App\Http\Requests\Front; use Illuminate\Foundation\Http\FormRequest; class VerificationEmailRequest extends FormRequest { /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return true; } /** * Get the validation rules that apply to the request. * * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array|string> */ public function rules(): array { return [ 'email' => [ 'email:rfc,dns', 'required', ], ]; } /** * Get the error messages for the defined validation rules. * * @return array */ public function messages() { return [ 'email.unique' => ':attribute already exists', 'email.email' => 'Please enter a valid :attribute', ]; } /** * Get custom attributes for validator errors. * * @return array */ public function attributes() { return [ 'email' => 'E-mail', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка