Symfony2 API
Class

Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass

class AnalyzeServiceReferencesPass implements RepeatablePassInterface

Run this pass before passes that need to know more about the relation of your services.

This class will populate the ServiceReferenceGraph with information. You can
retrieve the graph in other passes from the compiler.

Methods

__construct(Boolean $onlyConstructorArguments = false)

Constructor.

setRepeatedPass(RepeatedPass $repeatedPass)

Sets the RepeatedPass interface.

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Details

at line 41
public __construct(Boolean $onlyConstructorArguments = false)

Constructor.

Parameters

Boolean $onlyConstructorArguments Sets this Service Reference pass to ignore method calls

at line 49
public setRepeatedPass(RepeatedPass $repeatedPass)

Sets the RepeatedPass interface.

Parameters

RepeatedPass $repeatedPass

at line 59
public process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container