protected function syntaxHighlighterConfig(SyntaxHighlighterConfig $config) {

        $template = [];

        $template[] = "SyntaxHighlighter.config.bloggerMode = " . StringHelper::parseBoolean($config->getBloggerMode()) . ";";
        $template[] = "SyntaxHighlighter.config.stripBrs = " . StringHelper::parseBoolean($config->getStripBrs()) . ";";
        $template[] = "SyntaxHighlighter.config.tagName = \"" . $config->getTagName() . "\";";
        if (null !== $config->getStrings()) {
            $template[] = $this->syntaxHighlighterStrings($config->getStrings());
        }

        return implode("\n", $template);
    }
protected function syntaxHighlighterConfig(SyntaxHighlighterConfig $config) {

        $template = [];

        $template[] = "SyntaxHighlighter.config.bloggerMode = " . StringHelper::parseBoolean($config->getBloggerMode()) . ";";
        $template[] = "SyntaxHighlighter.config.stripBrs = " . StringHelper::parseBoolean($config->getStripBrs()) . ";";
        $template[] = "SyntaxHighlighter.config.tagName = \"" . $config->getTagName() . "\";";
        if (null !== $config->getStrings()) {
            $template[] = $this->syntaxHighlighterStrings($config->getStrings());
        }

        return implode("\n", $template);
    }
protected function syntaxHighlighterConfig ( SyntaxHighlighterConfig $ config ) { $ template = [ ] ; $ template [ ] = "SyntaxHighlighter.config.bloggerMode = " . StringHelper :: parseBoolean ( $ config -> getBloggerMode ( ) ) . ";" ; $ template [ ] = "SyntaxHighlighter.config.stripBrs = " . StringHelper :: parseBoolean ( $ config -> getStripBrs ( ) ) . ";" ; $ template [ ] = "SyntaxHighlighter.config.tagName = \"" . $ config -> getTagName ( ) . "\";" ; if ( null !== $ config -> getStrings ( ) ) { $ template [ ] = $ this -> syntaxHighlighterStrings ( $ config -> getStrings ( ) ) ; } return implode ( "\n" , $ template ) ; }
Displays a SyntaxHighlighter config.

@param SyntaxHighlighterConfig $config The configuration.
@return string Returns the SyntaxHighlighter config.
Displays a SyntaxHighlighter config .