public function __construct() { $this->elementProperties = new ElementProperties(); $this->elementProperties->addAttribute("type", self::INPUT_TYPE); }