framework/rbac/PhpManager.php
protected function addRule($rule)
    {
        $this->rules[$rule->name] = $rule;
        $this->saveRules();
        return true;
    }
protected function addRule($rule)
    {
        $this->rules[$rule->name] = $rule;
        $this->saveRules();
        return true;
    }
protected function addRule ( $ rule ) { $ this -> rules [ $ rule -> name ] = $ rule ; $ this -> saveRules ( ) ; return true ; }
{@inheritdoc}
{