Метод | Описание | |
---|---|---|
__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 |