protected function __construct(string $html) { $this->html = $html; $this->parentAttributes = new Attributes(); }