AppserverIo\Appserver\ServletEngine\Security\SimplePrincipal::__construct PHP 메소드

__construct() 공개 메소드

Initialize the principal with the passed name.
public __construct ( string $name )
$name string The principal's name
    public function __construct(string $name)
    {
        $this->name = $name;
    }

Usage Example

예제 #1
0
 /**
  * Initialize the principal with the passed name.
  *
  * @param \AppserverIo\Lang\String $name The principal's name
  */
 public function __construct(string $name)
 {
     // invoke the parent constructor
     parent::__construct($name);
     // initialize the members
     $this->members = new HashMap();
 }