Property | Type | Description | |
---|---|---|---|
$name | string | Resource name |
Method | Description | |
---|---|---|
__construct ( string $name ) : |
Constructor | |
__toString ( ) : string | Method to return the string value of the name of the role | |
factory ( string $name ) : |
Static method to instantiate the resource object and return itself to facilitate chaining methods together. | |
getName ( ) : string | Method to get the role name |
public __construct ( string $name ) : |
||
$name | string | |
return |
public __toString ( ) : string | ||
return | string |