ldc-com-app-bo/app/Http/Requests/Bo/UploadRequest.php
2023-10-04 15:51:07 +02:00

30 lines
527 B
PHP

<?php
namespace App\Http\Requests\Bo;
use Illuminate\Foundation\Http\FormRequest;
class UploadRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return boolean
*/
public function authorize()
{
return \auth()->check();
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'uuid' => 'nullable|uuid'
];
}
}