* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ /** * 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 * * @author Jordi Boggiano */ interface NormalizableInterface { function normalize(NormalizerInterface $normalizer, $format, $properties = null); function denormalize(NormalizerInterface $normalizer, $data, $format = null); }