ServiceLocatorTagPass
class ServiceLocatorTagPass extends AbstractRecursivePass
Applies the "container.service_locator" tag by wrapping references into ServiceClosureArgument instances.
Methods
process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. | from AbstractRecursivePass | |
static Reference | register(ContainerBuilder $container, array $refMap, string|null $callerId = null) |
Details
process(ContainerBuilder $container)
You can modify the container here before it is dumped to PHP code.
Parameters
ContainerBuilder | $container |
static Reference register(ContainerBuilder $container, array $refMap, string|null $callerId = null)
Parameters
ContainerBuilder | $container | |
array | $refMap | |
string|null | $callerId |
Return Value
Reference |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/DependencyInjection/Compiler/ServiceLocatorTagPass.html