public function __construct(string $name) { // invoke the parent constructor parent::__construct($name); // initialize the members $this->members = new HashMap(); }