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