- author Jordi Boggiano
AbstractInterface
Constants |
public Symfony |
Methods |
public abstract denormalize(?mixed $data, string $type, ?string $format = NULL, array $context = []) : ?mixed Denormalizes data back into an object of the given class.
|
public abstract getSupportedTypes(?string $format) : array 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. |
public abstract supportsDenormalization(?mixed $data, string $type, ?string $format = NULL, array $context = []) : bool Checks whether the given class is supported for denormalization by this normalizer.
|