->
tag('controller.argument_value_resolver',
['priority' => 100, 'name' => DateTimeValueResolver::
class]) ->
set('argument_resolver.request_payload', RequestPayloadValueResolver::
class) ->
args([ service('serializer'
),
service('validator'
)->
nullOnInvalid(),
service('translator'
)->
nullOnInvalid(),
]) ->
tag('controller.targeted_value_resolver',
['name' => RequestPayloadValueResolver::
class]) ->
tag('kernel.event_subscriber'
) ->
lazy() ->
set('argument_resolver.request_attribute', RequestAttributeValueResolver::
class) ->
tag('controller.argument_value_resolver',
['priority' => 100, 'name' => RequestAttributeValueResolver::
class]) ->
set('argument_resolver.request', RequestValueResolver::
class) ->
tag('controller.argument_value_resolver',
['priority' => 50, 'name' => RequestValueResolver::
class]) ->
set('argument_resolver.session', SessionValueResolver::
class) ->
tag('controller.argument_value_resolver',
['priority' => 50, 'name' => SessionValueResolver::
class]) ->
set('argument_resolver.service', ServiceValueResolver::
class)