프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |