public function pageTitle($appends = '')
    {
        // Get crumbs titles
        $crumbs = array_map(function ($crumb) {
            return $crumb->title;
        }, $this->crumbs);

        // Reverse array elements order
        $crumbs = array_reverse($crumbs);
        $title  = implode($this->config->get('crumbs.page_title_separator'), $crumbs);

        return $title . ($title ? $appends : '');
    }
public function pageTitle($appends = '')
    {
        // Get crumbs titles
        $crumbs = array_map(function ($crumb) {
            return $crumb->title;
        }, $this->crumbs);

        // Reverse array elements order
        $crumbs = array_reverse($crumbs);
        $title  = implode($this->config->get('crumbs.page_title_separator'), $crumbs);

        return $title . ($title ? $appends : '');
    }
public function pageTitle ( $ appends = '' ) { // Get crumbs titles $ crumbs = array_map ( function ( $ crumb ) { return $ crumb -> title ; } , $ this -> crumbs ) ; // Reverse array elements order $ crumbs = array_reverse ( $ crumbs ) ; $ title = implode ( $ this -> config -> get ( 'crumbs.page_title_separator' ) , $ crumbs ) ; return $ title . ( $ title ? $ appends : '' ) ; }
Return structured page title string.

@param string $appends A string to append.

@return string

@since 2.1.7
Return structured page title string .