yii\rbac\BaseManager::updateRule PHP Метод

updateRule() абстрактный защищенный Метод

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
Результат boolean whether the rule is successfully updated
    protected abstract function updateRule($name, $rule);