symfony / 3.4.3 / symfony / component / dependencyinjection / compiler / autoaliasservicepass.html /

AutoAliasServicePass

class AutoAliasServicePass implements CompilerPassInterface

Sets a service to be an alias of another one, given a format pattern.

Methods

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Details

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container