ldc-laravel-base-project/app/Http/Requests/Bo/UpdateMultiplePartsRequest.php

19 lines
344 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Http\Requests\Bo;
use Illuminate\Foundation\Http\FormRequest;
class UpdateMultiplePartsRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return boolean
*/
public function authorize(): bool
{
return auth('backend')->check();
}
}