AutowireAsDecoratorPass
in package
implements
CompilerPassInterface
FinalYes
Reads #[AsDecorator] attributes on definitions that are autowired and don't have the "container.ignore_attributes" tag.
Table of Contents
Interfaces
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Methods
- process() : void
- You can modify the container here before it is dumped to PHP code.
- accept() : bool
- processClass() : void
Methods
process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : void
Parameters
- $container : ContainerBuilder
accept()
private
accept(Definition $definition) : bool
Parameters
- $definition : Definition
Return values
boolprocessClass()
private
processClass(Definition $definition, ReflectionClass $reflectionClass) : void
Parameters
- $definition : Definition
- $reflectionClass : ReflectionClass