Prado\Security\TUser::getName PHP Method

getName() public method

public getName ( ) : string
return string username, defaults to empty string.
    public function getName()
    {
        return $this->getState('Name', '');
    }

Usage Example

Esempio n. 1
0
 public function testName()
 {
     $user = new TUser(self::$mgr);
     $user->setName('joe');
     self::assertEquals('joe', $user->getName());
 }