24 lines
388 B
PHP
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 [];
|
|
}
|
|
}
|