yii\rbac\BaseManager::removeRule PHP Method

removeRule() abstract protected method

Removes a rule from the RBAC system.
abstract protected removeRule ( Rule $rule ) : boolean
$rule Rule the rule to remove
return boolean whether the rule is successfully removed
    protected abstract function removeRule($rule);