Skip to content

Commit d61ca3d

Browse files
committed
bug symfony#17703 [FrameworkBundle] Support autowiring for TranslationInterface (dunglas)
This PR was squashed before being merged into the 2.8 branch (closes symfony#17703). Discussion ---------- [FrameworkBundle] Support autowiring for TranslationInterface | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 2419725 [FrameworkBundle] Support autowiring for TranslationInterface
2 parents 9d04018 + 2419725 commit d61ca3d

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)