src/Entities/Title.php
private function renderTitleLast($separator)
    {
        $output = [];

        if ($this->hasSiteName()) {
            $output[] = $this->getSiteName();
            $output[] = $separator;
        }

        $output[] = $this->getTitleOnly();

        return implode('', $output);
    }
private function renderTitleLast($separator)
    {
        $output = [];

        if ($this->hasSiteName()) {
            $output[] = $this->getSiteName();
            $output[] = $separator;
        }

        $output[] = $this->getTitleOnly();

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

@param  string  $separator

@return string
Render title last .