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.
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
public __construct ( boolean $onlyConstructorArguments = false ) |
$onlyConstructorArguments |
boolean |
Sets this Service Reference pass to ignore method calls |
Processes a ContainerBuilder object to populate the service reference graph.
public process ( ContainerBuilder $container ) |
$container |
Symfony\Component\DependencyInjection\ContainerBuilder |
|
setRepeatedPass()
public method
public setRepeatedPass ( Symfony\Component\DependencyInjection\Compiler\RepeatedPass $repeatedPass ) |
$repeatedPass |
Symfony\Component\DependencyInjection\Compiler\RepeatedPass |
|