private function renderTitleFirst($separator) { $output = []; $output[] = $this->getTitleOnly(); if ($this->hasSiteName()) { $output[] = $separator; $output[] = $this->getSiteName(); } return implode('', $output); }