Skip to content

Commit 2419725

Browse files
dunglasfabpot
authored andcommitted
[FrameworkBundle] Support autowiring for TranslationInterface
1 parent afe4cbb commit 2419725

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
<call method="setConfigCacheFactory">
4949
<argument type="service" id="config_cache_factory" />
5050
</call>
51+
52+
<autowiring-type>Symfony\Component\Translation\TranslatorInterface</autowiring-type>
5153
</service>
5254

5355
<service id="translator.logging" class="Symfony\Component\Translation\LoggingTranslator" public="false">

0 commit comments

Comments
 (0)