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