File manager - Edit - /home/autoph/public_html/projects/aha-api/app/Http/Requests/CarLineRequest.php
Back
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CarLineRequest 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<mixed>|string> */ public function rules(): array { return [ 'name' => 'required|min:2|unique:models,name,' . $this->car_line, 'description' => 'required|min:2|unique:models,description,' . $this->car_line, ]; } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings