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

Skip to content

Commit 5a47ec7

Browse files
committed
Support autowiring for EventDispatcher/EventDispatcherInterface
1 parent 5a08a32 commit 5a47ec7

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
@@ -18,6 +18,8 @@
1818
<services>
1919
<service id="event_dispatcher" class="%event_dispatcher.class%">
2020
<< 5D35 span class="pl-ent">argument type="service" id="service_container" />
21+
<autowiring-type>Symfony\Component\EventDispatcher\EventDispatcherInterface</autowiring-type>
22+
<autowiring-type>Symfony\Component\EventDispatcher\EventDispatcher</autowiring-type>
2123
</service>
2224

2325
<service id="http_kernel" class="%http_kernel.class%">

0 commit comments

Comments
 (0)
0