class Role

Role is a simple implementation representing a role identified by a string.

Methods

__construct(string $role)

No description

string
getRole()

Returns a string representation of the role.

Details

__construct(string $role)

Parameters

string $role

string getRole()

Returns a string representation of the role.

Return Value

string