File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ public function build(ContainerBuilder $container)
122122 $ container ->addCompilerPass (new RegisterControllerArgumentLocatorsPass ());
123123 $ container ->addCompilerPass (new RemoveEmptyControllerArgumentLocatorsPass (), PassConfig::TYPE_BEFORE_REMOVING );
124124 $ container ->addCompilerPass (new RoutingResolverPass ());
125+ $ container ->addCompilerPass (new DataCollectorTranslatorPass ());
125126 $ container ->addCompilerPass (new ProfilerPass ());
126127 // must be registered before removing private services as some might be listeners/subscribers
127128 // but as late as possible to get resolved parameters
@@ -141,7 +142,6 @@ public function build(ContainerBuilder $container)
141142 $ container ->addCompilerPass (new FragmentRendererPass ());
142143 $ this ->addCompilerPassIfExists ($ container , SerializerPass::class);
143144 $ this ->addCompilerPassIfExists ($ container , PropertyInfoPass::class);
144- $ container ->addCompilerPass (new DataCollectorTranslatorPass ());
145145 $ container ->addCompilerPass (new ControllerArgumentValueResolverPass ());
146146 $ container ->addCompilerPass (new CachePoolPass (), PassConfig::TYPE_BEFORE_OPTIMIZATION , 32 );
147147 $ container ->addCompilerPass (new CachePoolClearerPass (), PassConfig::TYPE_AFTER_REMOVING );
You can’t perform that action at this time.
0 commit comments