rbac\ManagerInterface canAddChild()

canAddChild() public abstract method (available since version 2.0.8)

Checks the possibility of adding a child to parent

public abstract boolean canAddChild ( $parent, $child )
$parent yii\rbac\Item

The parent item

$child yii\rbac\Item

The child item to be added to the hierarchy

return boolean

Possibility of adding

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

Please login to continue.