->
alias('serializer.property_accessor', 'property_accessor'
) // Discriminator Map
->
set('serializer.mapping.class_discriminator_resolver', ClassDiscriminatorFromClassMetadata::
class) ->
args([service('serializer.mapping.class_metadata_factory'
)]) ->
alias(ClassDiscriminatorResolverInterface::
class, 'serializer.mapping.class_discriminator_resolver'
) // Normalizer
->
set('serializer.normalizer.constraint_violation_list', ConstraintViolationListNormalizer::
class) ->
args([1 =>
service('serializer.name_converter.metadata_aware'
)]) ->
autowire(true
) ->
tag('serializer.normalizer',
['priority' => -915
]) ->
set('serializer.normalizer.mime_message', MimeMessageNormalizer::
class) ->
args([service('serializer.normalizer.property'
)]) ->
tag('serializer.normalizer',
['priority' => -915
]) ->
set('serializer.normalizer.datetimezone', DateTimeZoneNormalizer::
class) ->
tag('serializer.normalizer',
['priority' => -915
]) ->
set('serializer.normalizer.dateinterval', DateIntervalNormalizer::
class) ->
tag('serializer.normalizer',
['priority' => -915
])