/** * Initially only the HTML attribute 'value' is set, since we do not have information of the value provided by the * user at this moment * * @param string $name * @param string $value */ public function __construct($name, $value) { parent::__construct($name); $this->attributes['value'] = $value; }