Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass
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.
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
class AnalyzeServiceReferencesPass
implements
RepeatablePassInterface
{
- // members
- private $graph;
- private $container;
- private $currentId;
- private $currentDefinition;
- private $repeatedPass;
- private $onlyConstructorArguments;
- // methods
- public void __construct()
- public void setRepeatedPass()
- public void process()
- private void processArguments()
- private Definition|null getDefinition()
- private void getDefinitionId()
Hierarchy
Members
private
- $container
- $currentDefinition
- $currentId
- $graph
- $onlyConstructorArguments
- $repeatedPass
Methods
private
- getDefinition() — Returns a service definition given the full name or an alias.
- getDefinitionId()
- processArguments() — Processes service definitions for arguments to find relationships for the service graph.
public
- __construct() — Constructor.
- process() — Processes a ContainerBuilder object to populate the service reference graph.
- setRepeatedPass() — {@inheritDoc}