InlineServiceDefinitionsPass

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)

Sets the RepeatedPass interface.

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)

Sets the RepeatedPass interface.

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
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部