TP6 et avant

This commit is contained in:
2026-10-07 16:34:12 +02:00
parent bb4ee689a1
commit e00d488df7
89 changed files with 11733 additions and 0 deletions
@@ -0,0 +1,32 @@
<?php
namespace App\Http\Requests;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Foundation\Http\FormRequest;
class UpdateClientRequest 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, ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
//
'name' => 'required|string|max:100',
'email' => 'required|email',
'city' => 'nullable|string|max:100',
];
}
}