public function setHeadTitle(string $title) : self
    {
        if (!$this->headTitle) {
            $this->headTitle = new HtmlElement('<title>');
            $this->head->addFirst($this->headTitle);
        }
        $this->headTitle->setContent($title);

        return $this;
    }
public function setHeadTitle(string $title) : self
    {
        if (!$this->headTitle) {
            $this->headTitle = new HtmlElement('<title>');
            $this->head->addFirst($this->headTitle);
        }
        $this->headTitle->setContent($title);

        return $this;
    }
@param string $title

@return $this|self