src/HtmlElement.php
public function render()
    {
        if (!$this->tag) {
            throw new \LogicException('Missing tag');
        }

        return $this->isRenderable() ? self::htmlTag($this->tag, $this->attributes, $this->props, $this->content) : '';
    }
public function render()
    {
        if (!$this->tag) {
            throw new \LogicException('Missing tag');
        }

        return $this->isRenderable() ? self::htmlTag($this->tag, $this->attributes, $this->props, $this->content) : '';
    }
@throws \LogicException

@return string