Register all services and subservices necessary to get phpDocumentor up and running.
This provider exposes no services of its own but populates the Writer Collection with the basic writers for phpDocumentor and, for backwards compatibility, registers the service providers for Graphs, Twig and PDF to the container.
getTranslator(\Cilex\Application $app) : \phpDocumentor\Translator\Translator
getWriterCollection(\Cilex\Application $app) : \phpDocumentor\Transformer\Writer\Collection
register(\Cilex\Application $app) : void
An Application instance.
registerDependenciesOnXsltExtension(\Cilex\Application $app) : void
In every template we use PHP helpers in order to be able to have routing that is universal between templates and convert Markdown text into HTML (for example). The only way for XSL to do this is by having global functions or static methods in a class because you cannot inject an object into an XSL processor.
With this method we make sure that all dependencies used by the static methods are injected as static properties.
registerTranslationMessages(\Cilex\Application $app) : void
registerWriters(\Cilex\Application $app) : void
This action will enable transformations in templates to make use of these writers.