PHP Class Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass

This class will populate the ServiceReferenceGraph with information. You can retrieve the graph in other passes from the compiler.
Author: Johannes M. Schmitt ([email protected])
Inheritance: implements Symfony\Component\DependencyInjection\Compiler\RepeatablePassInterface, implements Symfony\Component\DependencyInjection\Compiler\CompilerAwareInterface
Mostrar archivo Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
__construct ( boolean $onlyConstructorArguments = false ) Constructor.
process ( ContainerBuilder $container ) Processes a ContainerBuilder object to populate the service reference graph.
setRepeatedPass ( Symfony\Component\DependencyInjection\Compiler\RepeatedPass $repeatedPass ) {@inheritDoc}

Private Methods

Method Description
getDefinition ( string $id ) : Definition Returns a service definition given the full name or an alias.
processArguments ( array $arguments ) Processes service definitions for arguments to find relationships for the service graph.

Method Details

__construct() public method

Constructor.
public __construct ( boolean $onlyConstructorArguments = false )
$onlyConstructorArguments boolean Sets this Service Reference pass to ignore method calls

process() public method

Processes a ContainerBuilder object to populate the service reference graph.
public process ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder

setRepeatedPass() public method

{@inheritDoc}
public setRepeatedPass ( Symfony\Component\DependencyInjection\Compiler\RepeatedPass $repeatedPass )
$repeatedPass Symfony\Component\DependencyInjection\Compiler\RepeatedPass