yogibook-aury/app/Http/Requests/Role/RemoveRoleRequest.php
2024-09-18 16:47:42 +02:00

24 lines
388 B
PHP

<?php
namespace Vanguard\Http\Requests\Role;
use Vanguard\Http\Requests\Request;
class RemoveRoleRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return $this->route('role')->removable;
}
public function rules()
{
return [];
}
}