SimpleSerializableAndDenormalizableClassTrait
trait SimpleSerializableAndDenormalizableClassTrait (View source)
A simple trait to use when you're working with a class that's only property to serialize is "class" and it has nothing to set in the denormlize method.
Methods
jsonSerialize()
{@inheritdoc}
denormalize(DenormalizerInterface $denormalizer, $data, string $format = null, array $context = [])
No description
Details
jsonSerialize()
{@inheritdoc}
denormalize(DenormalizerInterface $denormalizer, $data, string $format = null, array $context = [])
No description