yii\rbac\BaseManager::addRule PHP Méthode

addRule() abstract protected méthode

Adds a rule to the RBAC system.
abstract protected addRule ( Rule $rule ) : boolean
$rule Rule the rule to add
Résultat boolean whether the rule is successfully added to the system
    protected abstract function addRule($rule);