|
@@ -10,6 +10,7 @@ use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ConverterManager
|
|
|
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RoutingResolverPass;
|
|
|
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ProfilerPass;
|
|
|
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddClassesToCachePass;
|
|
|
+use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\TranslatorPass;
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
|
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
@@ -72,5 +73,6 @@ class FrameworkBundle extends Bundle
|
|
|
$container->addCompilerPass(new TemplatingPass());
|
|
|
$container->addCompilerPass(new AddConstraintValidatorsPass());
|
|
|
$container->addCompilerPass(new AddClassesToCachePass());
|
|
|
+ $container->addCompilerPass(new TranslatorPass());
|
|
|
}
|
|
|
}
|