RegisterEventListenersAndSubscribersPass

RegisterEventListenersAndSubscribersPass

class RegisterEventListenersAndSubscribersPass implements CompilerPassInterface

Registers event listeners and subscribers to the available doctrine connections.

Methods

__construct(string $connections, string $managerTemplate, string $tagPrefix)
process(ContainerBuilder $container)

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

Details

__construct(string $connections, string $managerTemplate, string $tagPrefix)

Parameters

string $connections Parameter ID for connections
string $managerTemplate sprintf() template for generating the event manager's service ID for a connection name
string $tagPrefix Tag prefix for listeners and subscribers

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部