Path : /var/www/clients/client0/web25/web/app/Http/Requests/Back/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/clients/client0/web25/web/app/Http/Requests/Back/TagRequest.php |
<?php namespace App\Http\Requests\Back; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Auth; class TagRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return Auth::check(); } /** * Get the validation rules that apply to the request. * * @return array<string, mixed> */ public function rules() { return [ 'tag_en' => ['required', 'max:255'], 'tag_fr' => ['required', 'max:255'], 'tag_it' => ['required', 'max:255'], ]; } }