symfony / 4.1 / symfony / component / dependencyinjection / compiler / extensioncompilerpass.html

ExtensionCompilerPass

class ExtensionCompilerPass implements CompilerPassInterface

A pass to automatically process extensions if they implement CompilerPassInterface.

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