Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
Symfony version | 3.x |
In a Symfony app I have disabled the entire translation
service. In 3.2, the production container still contained lots of translation related things, but in 3.3 everything has gone ... except for 1 service:
'twig.translation.extractor' => 'getTwig_Translation_ExtractorService',
// ...
protected function getTwig_Translation_ExtractorService()
{
return $this->services['twig.translation.extractor'] = new \Symfony\Bridge\Twig\Translation\TwigExtractor(${($_ = isset($this->services['twig']) ? $this->services['twig'] : $this->get('twig')) && false ?: '_'});
}
Should we enable this service conditionally too? Thanks!