Silber\Bouncer\Database\HasRoles::isAll PHP Method

isAll() public method

Check if the model has all of the given roles.
public isAll ( string $role ) : boolean
$role string
return boolean
    public function isAll($role)
    {
        $roles = func_get_args();
        $clipboard = $this->getClipboardInstance();
        return $clipboard->checkRole($this, $roles, 'and');
    }