Skip to content

Commit

Permalink
bug #17703 [FrameworkBundle] Support autowiring for TranslationInterf…
Browse files Browse the repository at this point in the history
…ace (dunglas)

This PR was squashed before being merged into the 2.8 branch (closes #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
  • Loading branch information
fabpot committed Feb 9, 2016
2 parents 9d04018 + 2419725 commit d61ca3d
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -48,6 +48,8 @@
<call method="setConfigCacheFactory">
<argument type="service" id="config_cache_factory" />
</call>

<autowiring-type>Symfony\Component\Translation\TranslatorInterface</autowiring-type>
</service>

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

0 comments on commit d61ca3d

Please sign in to comment.