class RegisterEventListenersAndSubscribersPass implements CompilerPassInterface
Registers event listeners and subscribers to the available doctrine connections.
__construct(string $connections, string $managerTemplate, string $tagPrefix) | ||
process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. |
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 |
You can modify the container here before it is dumped to PHP code.
ContainerBuilder | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.html