8000 Support autowiring for EventDispatcher/EventDispatcherInterface · symfony/symfony@89de71d · GitHub
[go: up one dir, main page]

Skip to content

Commit 89de71d

Browse files
committed
Support autowiring for EventDispatcher/EventDispatcherInterface
1 parent 4eeb1f0 commit 89de71d

File tree

1 file changed

+2
-0
lines changed
  • src/Symfony/Bundle/FrameworkBundle/Resources/config

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/services.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
<services>
88
<service id="event_dispatcher" class="Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher">
99
<argument type="service" id="service_container" />
10+
<autowiring-type>Symfony\Component\EventDispatcher\EventDispatcherInterface</autowiring-type>
11+
<autowiring-type>Symfony\Component\EventDispatcher\EventDispatcher</autowiring-type>
1012
</service>
1113

1214
<service id="http_kernel" class="Symfony\Component\HttpKernel\HttpKernel">

0 commit comments

Comments
 (0)
0