You are browsing the Symfony 4 documentation, which changes significantly from Symfony 3.x. If your app doesn't use Symfony 4 yet, browse the Symfony 3.4 documentation.

The Container Aware Event Dispatcher

The Container Aware Event DispatcherΒΆ

Caution

The ContainerAwareEventDispatcher was removed in Symfony 4.0. Use EventDispatcher with closure-proxy injection instead.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.