W3cubDocs

/Symfony 4.1

DecoratorServicePass

class DecoratorServicePass implements CompilerPassInterface

Overwrites a service but keeps the overridden one.

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