Symfony2 API
Class

Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass

class RemoveUnusedDefinitionsPass implements RepeatablePassInterface

Removes unused service definitions from the container.

Methods

setRepeatedPass(RepeatedPass $repeatedPass)

Sets the RepeatedPass interface.

process(ContainerBuilder $container)

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

Details

at line 28
public setRepeatedPass(RepeatedPass $repeatedPass)

Sets the RepeatedPass interface.

Parameters

RepeatedPass $repeatedPass

at line 38
public process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container