->
set('translation.dumper.json', JsonFileDumper::
class) ->
tag('translation.dumper',
['alias' => 'json'
]) ->
set('translation.dumper.res', IcuResFileDumper::
class) ->
tag('translation.dumper',
['alias' => 'res'
]) ->
set('translation.extractor.php', PhpExtractor::
class) ->
deprecate('symfony/framework-bundle', '6.2', 'The "%service_id%" service is deprecated, use "translation.extractor.php_ast" instead.'
) ->
tag('translation.extractor',
['alias' => 'php'
]) ->
set('translation.extractor.php_ast', PhpAstExtractor::
class) ->
args([tagged_iterator('translation.extractor.visitor'
)]) ->
tag('translation.extractor',
['alias' => 'php'
]) ->
set('translation.extractor.visitor.trans_method', TransMethodVisitor::
class) ->
tag('translation.extractor.visitor'
) ->
set('translation.extractor.visitor.translatable_message', TranslatableMessageVisitor::
class) ->
tag('translation.extractor.visitor'
) ->
set('translation.extractor.visitor.constraint', ConstraintVisitor::
class) ->
tag('translation.extractor.visitor'
)