Skip to content

Commit e2ddc17

Browse files
author
Dennis Langen
committed
adding interface alias for reader, writer and extractor
1 parent ebf3f0e commit e2ddc17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,13 @@
126126
</service>
127127

128128
<service id="translation.reader" class="Symfony\Component\Translation\Reader\TranslationReader" />
129+
<service id="Symfony\Component\Translation\Reader\TranslationReaderInterface" alias="translation.reader" />
129130

130131
<service id="translation.extractor" class="Symfony\Component\Translation\Extractor\ChainExtractor" />
132+
<service id="Symfony\Component\Translation\Extractor\ExtractorInterface" alias="translation.extractor" />
131133

132134
<service id="translation.writer" class="Symfony\Component\Translation\Writer\TranslationWriter" />
135+
<service id="Symfony\Component\Translation\Writer\TranslationWriterInterface" alias="translation.writer" />
133136

134137
<service id="translation.warmer" class="Symfony\Bundle\FrameworkBundle\CacheWarmer\TranslationsCacheWarmer">
135138
<tag name="container.service_subscriber" id="translator" />

0 commit comments

Comments
 (0)