This parameter is required to make the extension works so the service must be injected in the constructor. Otherwise this can crash: https://github.com/sonata-project/SonataTranslationBundle/blob/13_decoupling_interface/Twig/Extension/SonataTranslationExtension.php#L64-L67