Copied!

Normalizes a {@see \DateTimeZone} object to a timezone string.

CloneableFinalInstantiable
Constants
public Symfony\Component\Serializer\Normalizer\DenormalizerInterface::COLLECT_DENORMALIZATION_ERRORS = 'collect_denormalization_errors'
Methods
public denormalize(?mixed $data, string $type, ?string $format = NULL, array $context = []) : DateTimeZone
 
  • throws \NotNormalizableValueException
public getSupportedTypes(?string $format) : array
public normalize(?mixed $object, ?string $format = NULL, array $context = []) : string
 
  • throws \InvalidArgumentException
public supportsDenormalization(?mixed $data, string $type, ?string $format = NULL, array $context = []) : bool
public supportsNormalization(?mixed $data, ?string $format = NULL, array $context = []) : bool
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration