public __construct ( string $name ) | ||
$name | string | The principal's name |
public function __construct(string $name)
{
$this->name = $name;
}
/** * 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(); }