ReflectionProjectFactoryStrategyPass
in package
implements
CompilerPassInterface
FinalYes
Custom Compiler pass to help symfony to construct the ProjectFactoryStrategies
All strategies defined in 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 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.
Table of Contents
Interfaces
- CompilerPassInterface
Methods
- process() : void
Methods
process()
public
process(ContainerBuilder $container) : void
Parameters
- $container : ContainerBuilder