W3cubDocs

/Symfony 4.1

RemovePrivateAliasesPass

class RemovePrivateAliasesPass implements CompilerPassInterface

Remove private aliases from the container. They were only used to establish dependencies between services, and these dependencies have been resolved in one of the previous passes.

Methods

process(ContainerBuilder $container)

Removes private aliases from the ContainerBuilder.

Details

process(ContainerBuilder $container)

Removes private aliases from the ContainerBuilder.

Parameters

ContainerBuilder $container