removeChild() public method
Removes a child from its parent. Note, the child item is not deleted. Only the parent-child relationship is removed.
public boolean removeChild ( $parent, $child )$parent yii\rbac\Item $child yii\rbac\Item return boolean
Whether the removal is successful