Role
in package
Role is a simple implementation representing a role identified by a string.
Tags
Table of Contents
- $role : mixed
- __construct() : mixed
- __toString() : string
- getRole() : string
- Returns a string representation of the role.
Properties
$role
private
mixed
$role
Methods
__construct()
public
__construct(string $role) : mixed
Parameters
- $role : string
Return values
mixed —__toString()
public
__toString() : string
Return values
string —getRole()
Returns a string representation of the role.
public
getRole() : string