Normalizes a {@see \DateTimeZone} object to a timezone string.
- author Jérôme Desjardins
- final since Symfony 6.3
CloneableInstantiable
Constants |
Methods |
public denormalize(?mixed $data, string $type, ?string $format = NULL, array $context = []) : DateTimeZone
|
public getSupportedTypes(?string $format) : array |
public hasCacheableSupportsMethod() : bool
|
public normalize(?mixed $object, ?string $format = NULL, array $context = []) : string
|
public supportsDenormalization(?mixed $data, string $type, ?string $format = NULL) : bool
|
public supportsNormalization(?mixed $data, ?string $format = NULL) : bool
|