AnalyzeServiceReferencesPass

AnalyzeServiceReferencesPass

class AnalyzeServiceReferencesPass extends AbstractRecursivePass implements RepeatablePassInterface

Run this pass before passes that need to know more about the relation of your services.

This class will populate the ServiceReferenceGraph with information. You can retrieve the graph in other passes from the compiler.

Methods

process(ContainerBuilder $container)

Processes a ContainerBuilder object to populate the service reference graph.

__construct(bool $onlyConstructorArguments = false)
setRepeatedPass(RepeatedPass $repeatedPass)

Sets the RepeatedPass interface.

Details

process(ContainerBuilder $container)

Processes a ContainerBuilder object to populate the service reference graph.

Parameters

ContainerBuilder $container

__construct(bool $onlyConstructorArguments = false)

Parameters

bool $onlyConstructorArguments Sets this Service Reference pass to ignore method calls

setRepeatedPass(RepeatedPass $repeatedPass)

Sets the RepeatedPass interface.

Parameters

RepeatedPass $repeatedPass
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部