InlineServiceDefinitionsPass

class InlineServiceDefinitionsPass extends AbstractRecursivePass implements RepeatablePassInterface

Inline service definitions where this is possible.

Methods

process(ContainerBuilder $container)

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

from AbstractRecursivePass
setRepeatedPass(RepeatedPass $repeatedPass)
array getInlinedServiceIds()

Returns an array of all services inlined by this pass.

Details

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container

setRepeatedPass(RepeatedPass $repeatedPass)

Parameters

RepeatedPass $repeatedPass

array getInlinedServiceIds()

Returns an array of all services inlined by this pass.

The key is the inlined service id and its value is the list of services it was inlined into.

Return Value

array