NormalizableInterface
NormalizableInterface
interface NormalizableInterface
Defines the most basic interface a class must implement to be normalizable.
If a normalizer is registered for the class and it doesn't implement the Normalizable interfaces, the normalizer will be used instead.
Methods
array|scalar | normalize(NormalizerInterface $normalizer, string|null $format = null, array $context = array()) Normalizes the object into an array of scalars|arrays. |