diff --git a/DependencyInjection/LexikTranslationExtension.php b/DependencyInjection/LexikTranslationExtension.php index 71398503..11042600 100644 --- a/DependencyInjection/LexikTranslationExtension.php +++ b/DependencyInjection/LexikTranslationExtension.php @@ -245,6 +245,7 @@ protected function buildDevServicesDefinition(ContainerBuilder $container) new Reference('profiler'), new Parameter('lexik_translation.token_finder.limit'), )); + $tokenFinderDefinition->setPublic(true); $container->setDefinition('lexik_translation.token_finder', $tokenFinderDefinition); }