File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,8 @@ public function build(ContainerBuilder $container)
85
85
$ container ->addCompilerPass (new AddCacheWarmerPass ());
86
86
$ container ->addCompilerPass (new AddCacheClearerPass ());
87
87
$ container ->addCompilerPass (new AddExpressionLanguageProvidersPass ());
88
- if (class_exists ('Symfony\Component\Translation\Translator ' )) {
89
- $ container ->addCompilerPass (new TranslationExtractorPass ());
90
- $ container ->addCompilerPass (new TranslationDumperPass ());
91
- }
88
+ $ container ->addCompilerPass (new TranslationExtractorPass ());
89
+ $ container ->addCompilerPass (new TranslationDumperPass ());
92
90
$ container ->addCompilerPass (new FragmentRendererPass (), PassConfig::TYPE_AFTER_REMOVING );
93
91
$ container ->addCompilerPass (new SerializerPass ());
94
92
$ container ->addCompilerPass (new PropertyInfoPass ());
You can’t perform that action at this time.
0 commit comments