Silber\Bouncer\Database\HasRoles::isNotAn PHP Метод

isNotAn() публичный Метод

Check if the model has none of the given roles.
public isNotAn ( string $role ) : boolean
$role string
Результат boolean
    public function isNotAn($role)
    {
        $roles = func_get_args();
        $clipboard = $this->getClipboardInstance();
        return $clipboard->checkRole($this, $roles, 'not');
    }