protected function __construct(string $url, string $text) { $this->url = $url; $this->text = $text; $this->htmlAttributes = new Attributes(); $this->parentAttributes = new Attributes(); }