*/ protected array $attributes = [ 'rows' => '5', 'class' => 'textarea', ]; protected string $content = ''; public function setContent(string $value): void { $this->content = htmlspecialchars_decode($value); } public function render(): string { $this->attributes['slot'] = 'textarea'; $textarea = form_textarea($this->attributes, $this->content); return <<{$textarea} HTML; } }