Created
October 17, 2014 15:32
-
-
Save havvg/ead212d5a0ec9c1d2f9a to your computer and use it in GitHub Desktop.
TraceableEventDispatcher using service decorator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
event_dispatcher: | |
class: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher | |
arguments: | |
- @container | |
traceable_event_dispatcher: | |
public: false | |
class: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher | |
decorates: event_dispatcher | |
arguments: | |
- @traceable_event_dispatcher.inner | |
- @debug.stopwatch | |
- @logger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment