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) |
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)
Parameters
ContainerBuilder | $container | |
array | $refMap |
Return Value
Reference |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/DependencyInjection/Compiler/ServiceLocatorTagPass.html