Documentation

ReflectionProjectFactoryStrategyPass
in package
implements CompilerPassInterface

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.

Interfaces, Classes and Traits

CompilerPassInterface
Interface that must be implemented by compilation passes.

Table of Contents

process()  : void
You can modify the container here before it is dumped to PHP code.

Methods

Search results