ContextAwareDenormalizerInterface
interface ContextAwareDenormalizerInterface implements DenormalizerInterface
Adds the support of an extra $context parameter for the supportsDenormalization method.
Methods
object
denormalize(mixed $data, string $class, string $format = null, array $context = array())
Denormalizes data back into an object of the given class.
bool
supportsDenormalization(mixed $data, string $type, string $format = null, array $context = array())
Checks whether the given class is supported for denormalization by this normalizer.