public function htmlTitle (GluggiConfig $config, $pageTitle)
    {
        $segments = !is_array($pageTitle)
            ? [$pageTitle]
            : $pageTitle;

        $mainTitle = "Gluggi";

        if (null !== $config->getTitle())
        {
            $mainTitle .= " ({$config->getTitle()})";
        }

        $segments[] = $mainTitle;

        return new Response(
            htmlspecialchars(
                implode(" // ", $segments)
            )
        );
    }
public function htmlTitle (GluggiConfig $config, $pageTitle)
    {
        $segments = !is_array($pageTitle)
            ? [$pageTitle]
            : $pageTitle;

        $mainTitle = "Gluggi";

        if (null !== $config->getTitle())
        {
            $mainTitle .= " ({$config->getTitle()})";
        }

        $segments[] = $mainTitle;

        return new Response(
            htmlspecialchars(
                implode(" // ", $segments)
            )
        );
    }
public function htmlTitle ( GluggiConfig $ config , $ pageTitle ) { $ segments = ! is_array ( $ pageTitle ) ? [ $ pageTitle ] : $ pageTitle ; $ mainTitle = "Gluggi" ; if ( null !== $ config -> getTitle ( ) ) { $ mainTitle .= " ({$config->getTitle()})" ; } $ segments [ ] = $ mainTitle ; return new Response ( htmlspecialchars ( implode ( " // " , $ segments ) ) ) ; }
Renders the HTML title

@param GluggiConfig $config
@param string|array $pageTitle

@return Response
Renders the HTML title