register()
register(\Cilex\Application $app) : void
Adds the services needed to build the descriptors.
Parameters
\Cilex\Application | $app | An Application instance |
This provider is responsible for registering the Descriptor component with the given Application.
attachAssemblersToFactory(\phpDocumentor\Descriptor\Builder\AssemblerFactory $factory, \Cilex\Application $app) : \phpDocumentor\Descriptor\Builder\AssemblerFactory
Registers the Assemblers used to convert Reflection objects to Descriptors.
\phpDocumentor\Descriptor\Builder\AssemblerFactory | $factory | |
\Cilex\Application | $app |
attachFiltersToManager(\phpDocumentor\Descriptor\Filter\Filter $filterManager, \Cilex\Application $app) : \phpDocumentor\Descriptor\Filter\Filter
Attaches filters to the manager.
\phpDocumentor\Descriptor\Filter\Filter | $filterManager | |
\Cilex\Application | $app |
addBuilder(\Cilex\Application $app) : void
Adds the Building mechanism using the key 'descriptor.builder'.
Please note that the type of serializer can be configured using the parameter 'descriptor.builder.serializer'; it accepts any parameter that Zend\Serializer supports.
\Cilex\Application | $app |
addFilters(\Cilex\Application $app) : void
Adds the descriptor filtering mechanism and using key 'descriptor.filter'.
Please note that filters can only be attached after the builder is instantiated because it is needed; so the filters can be attached by extending 'descriptor.builder'.
\Cilex\Application | $app |