Copied!

Normalize Mime message classes.

It forces the use of a PropertyNormalizer instance for normalization of all data objects composing a Message.

Emails using resources for any parts are not serializable.

CloneableFinalInstantiable
Constants
public Symfony\Component\Serializer\Normalizer\DenormalizerInterface::COLLECT_DENORMALIZATION_ERRORS = 'collect_denormalization_errors'
Methods
public __construct(Symfony\Component\Serializer\Normalizer\PropertyNormalizer $normalizer)
public denormalize(?mixed $data, string $type, ?string $format = NULL, array $context = []) : ?mixed
public getSupportedTypes(?string $format) : array
public normalize(?mixed $object, ?string $format = NULL, array $context = []) : ArrayObject|array|string|int|float|bool|?null
public setSerializer(Symfony\Component\Serializer\SerializerInterface $serializer) : void
public supportsDenormalization(?mixed $data, string $type, ?string $format = NULL, array $context = []) : bool
public supportsNormalization(?mixed $data, ?string $format = NULL, array $context = []) : bool
Properties
private array $headerClassMap
private ReflectionProperty $headersProperty
private readonly Symfony\Component\Serializer\Normalizer\PropertyNormalizer $normalizer
private (Symfony\Component\Serializer\Normalizer\NormalizerInterface&Symfony\Component\Serializer\Normalizer\DenormalizerInterface) $serializer
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration