register(\Cilex\Application $app) : void
Registers services on the given app.
An Application instance.
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.
registerDependenciesOnXsltExtension(\Cilex\Application $app) : void
Registers the Routing Queue and Descriptor Builder objects on the XSLT Extension class.
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.
getTranslator(\Cilex\Application $app) : \phpDocumentor\Translator\Translator
Returns the Translator service from the Service Locator.
getWriterCollection(\Cilex\Application $app) : \phpDocumentor\Transformer\Writer\Collection
Returns the WriterCollection service from the Service Locator.