yii\rbac\BaseManager::addItem PHP Method

addItem() abstract protected method

Adds an auth item to the RBAC system.
abstract protected addItem ( Item $item ) : boolean
$item Item the item to add
return boolean whether the auth item is successfully added to the system
    protected abstract function addItem($item);