label = $label; $this->name = $name; $this->value = $value; } public function render(): string { return sprintf('

%s
', $this->label, $this->renderInput()); } abstract public function renderInput(): string; }