메소드 | 설명 | |
---|---|---|
__construct ( string $name ) | Initialize the principal with the passed name. | |
__toString ( ) : string | Returns the principals name as string. | |
equals ( AppserverIo\Psr\Security\PrincipalInterface $another ) : boolean | Compare this SimplePrincipal's name against another Principal. | |
getName ( ) : AppserverIo\Lang\String | Return's the principals name as String. |
public __construct ( string $name ) | ||
$name | string | The principal's name |
public __toString ( ) : string | ||
리턴 | string | The principal's name |
public getName ( ) : AppserverIo\Lang\String | ||
리턴 | AppserverIo\Lang\String | The principal's name |