Authority\Authority::cannot PHP Method

cannot() public method

Determine if current user cannot access the given action and resource Returns negation of can()
public cannot ( $action, $resource, $resourceValue = null ) : boolean
return boolean
    public function cannot($action, $resource, $resourceValue = null)
    {
        return !$this->can($action, $resource, $resourceValue);
    }