DenormalizableInterface

DenormalizableInterface

interface DenormalizableInterface

Defines the most basic interface a class must implement to be denormalizable.

If a denormalizer is registered for the class and it doesn't implement the Denormalizable interfaces, the normalizer will be used instead

Methods

object denormalize(DenormalizerInterface $denormalizer, array|scalar $data, string|null $format = null, array $context = array())

Denormalizes the object back from an array of scalars|arrays.

Details

object denormalize(登录查看完整内容