File manager - Edit - /var/www/html/gop/api/app/Http/Requests/Update/UpdateMaoDeObraRequest.php
Back
<?php namespace App\Http\Requests\Update; use Illuminate\Foundation\Http\FormRequest; class UpdateMaoDeObraRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array<string, mixed> */ public function rules() { return [ 'titulo' => 'required|string|max:255', 'valor_unitario' => 'required|numeric|min:0', 'quantidade_dias' => 'required|numeric|min:0', 'fornecimento_id' => 'required|exists:fornecimentos,id', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings