process()
process(\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void
Parameters
\Symfony\Component\DependencyInjection\ContainerBuilder | $container |
Custom Compiler pass to help symfony to construct the ProjectFactoryStrategies
All strategies defined in {@see \phpDocumentor\Reflection\Php\Factory} are injected automatically by our service
configuration with a default priority. In some situations this needs to be overwritten. This compiler pass helps us
with that part. It will find the tagged services and add them to the {@see \phpDocumentor\Reflection\Php\ProjectFactoryStrategies}, if multiple
phpdoc.reflection.strategy
tags are defined it will inject them multiple times with different priority.
If no priority is defined the default will be used.