W3cubDocs

/Symfony 4.1

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