Свойство | Тип | Описание | |
---|---|---|---|
$name | string | Resource name |
Метод | Описание | |
---|---|---|
__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 | |
Результат |
public __toString ( ) : string | ||
Результат | string |