getRole() public abstract method
Returns the named role.
public abstract 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.