yii\rbac\BaseManager::updateRule PHP Method

updateRule() abstract protected method

Updates a rule to the RBAC system.
abstract protected updateRule ( string $name, Rule $rule ) : boolean
$name string the name of the rule being updated
$rule Rule the updated rule
return boolean whether the rule is successfully updated
    protected abstract function updateRule($name, $rule);