getRole() public method
Returns the named role.
public null|yii\rbac\Role getRole ( $name ) | ||
---|---|---|
$name | string |
The role name. |
return | null|yii\rbac\Role |
The role corresponding to the specified name. Null is returned if no such role. |
getRole() public method
Returns the named role.
public null|yii\rbac\Role getRole ( $name ) | ||
---|---|---|
$name | string |
The role name. |
return | null|yii\rbac\Role |
The role corresponding to the specified name. Null is returned if no such role. |
Please login to continue.