public function __construct(string $text, Escaper $escaper) { $this->text = $escaper->escapeHtml($text); }