protected function parseAttributes(array $attributes) { $this->attributes->setAttributes($attributes); }
protected function renderOpeningTag() : string { return $this->attributes->isEmpty() ? "<{$this->element}>" : "<{$this->element} {$this->attributes}>"; }