ldc-legaulois/app/Http/Requests/SearchCustomerCollectionRequest.php
2021-03-20 13:02:42 +01:00

22 lines
453 B
PHP

<?php
namespace App\Http\Requests;
class SearchCustomerCollectionRequest extends CustomerCollectionRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return array_merge(
parent::rules(),
[
'pseudo' => 'sometimes|string',
'departaimant' => 'sometimes|string'
]
);
}
}