getChildRoles() public method
Returns the roles that are adding to the role via addChild() by recursive.
| public yii\rbac\Role[] getChildRoles ( $roleName ) | ||
|---|---|---|
| $roleName | string | 
 Name of parent Role.  |  
| return | yii\rbac\Role[] | 
 All roles directly adding to the role. The array is indexed by the role names. First element is a Role item that are getting by $roleName.  |  
| throws | yii\base\InvalidParamException | 
 if Role was not found that are getting by $roleName  |  
Please login to continue.