Skip to content

Reference

phil/highlight-bundle
ClassRole
Phil\HighlightBundle\PhilHighlightBundleThe bundle: the phil_highlight configuration, its services, the stylesheet mapped for AssetMapper, the autoconfiguration of languages and the compiler pass
Phil\HighlightBundle\Infrastructure\DependencyInjection\HighlightServicesRegisters the services; isName(), the check of a name; the service identifiers, the tag and the asset namespace as constants
Phil\HighlightBundle\Infrastructure\DependencyInjection\HighlighterPassAdds the tagged languages and the aliases to the highlighter; decorates phil/ujo-bundle's HtmlRenderer, or removes the code highlighter
Phil\HighlightBundle\Infrastructure\Language\AliasedLanguageA Language of phil/highlight under the configured aliases
Phil\HighlightBundle\Infrastructure\Twig\HighlightExtensionThe highlight filter
ServiceClass
Phil\Highlight\HighlighterHighlighter
phil_highlight.code_highlighterClosure
phil_highlight.ujo_rendererPhil\Ujo\Html\HtmlRenderer
Phil\HighlightBundle\Infrastructure\Twig\HighlightExtensionHighlightExtension
ConstantValue
HighlightServices::LANGUAGE_TAGphil_highlight.language
HighlightServices::ALIASESphil_highlight.aliases, the parameter of the configured aliases
HighlightServices::ASSET_NAMESPACEphil-highlight
FileRole
assets/styles/highlight.cssThe theme: see Theme