/** * Render Title tag * * @return string */ public function render() { if ($this->isEmpty()) { return ''; } $title = []; $this->getFirst($title); $this->renderSeparator($title); if ($this->checkSiteName()) { $this->getLast($title); } $this->tag->setText(implode(' ', $title)); return $this->tag->render(); }