mongodb\rbac\MongoDbManager addChild()

addChild() public method

Adds an item as a child of another item.

public boolean addChild ( $parent, $child )
$parent yii\rbac\Item
$child yii\rbac\Item
return boolean

Whether the child successfully added

throws yii\base\Exception

if the parent-child relationship already exists or if a loop has been detected.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.