DateTimeZoneNormalizer
class DateTimeZoneNormalizer implementsNormalizerInterface,DenormalizerInterface
Normalizes a {see \DateTimeZone} object to a timezone string.
Methods
Returns the types potentially supported by this denormalizer.
No description
No description
No description
Checks whether the given class is supported for denormalization by this normalizer.
Details
array
getSupportedTypes(string|null$format)
Returns the types potentially supported by this denormalizer.
For each supported formats (if applicable), the supported types should be returned as keys, and each type should be mapped to a boolean indicating if the result of supportsDenormalization() can be cached or not (a result cannot be cached when it depends on the context or on the data.) A null value means that the denormalizer does not support the corresponding type.
Use type "object" to match any classes or interfaces, and type "*" to match any types.