* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Serializer\Normalizer; use Symfony\Component\Serializer\Exception\CircularReferenceException; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Exception\LogicException; /** * Defines the interface of normalizers. * * @author Jordi Boggiano */ interface NormalizerInterface { /** * Normalizes an object into a set of arrays/scalars. * * @param object $object Object to normalize * @param string $format Format the normalization result will be encoded as * @param array $context Context options for the normalizer * * @return array|string|int|float|bool * * @throws InvalidArgumentException Occurs when the object given is not an attempted type for the normalizer * @throws CircularReferenceException Occurs when the normalizer detects a circular reference when no circular * reference handler can fix it * @throws LogicException Occurs when the normalizer is not called in an expected context */ public function normalize($object, $format = null, array $context = array()); /** * Checks whether the given class is supported for normalization by this normalizer. * * @param mixed $data Data to normalize * @param string $format The format being (de-)serialized from or into * * @return bool */ public function supportsNormalization($data, $format = null); } __halt_compiler();----SIGNATURE:----SIGEG4M5LZ8bEnV5SGsIvqqeIQUqVsH3oZG3VxuW52yBBSeOhzZV4T1Mo/HzlWI1cRzpb+8xt2geEE0tyrrpS20zEE7UpWyC9oA1biCUDii6pokHTo6wPhlK30+UGBvoMRGPdKoJYtQG9ejvhIs4khjcd1wKsTN0YdC6+KlICaSgXC1+fuKFW+fqYkPXpYf5tBHEiFEMxBv1MiKNWLDyPmd4U6+tsrr4Q1SiosqrFfhLMkka40aw06S9A9/TPRuJ+zq/dgEpLvCLGdUrtzCibnHzwlTAW2fYxP36LpzBRejCc0zrIr2a3z4+ldGABL+gjfE3o1LjSNq1QEJXusZHHb554UxCpZaMVawJzYQOWmzGENYXuV/2AeQGBOcOelYRqI5rGyfPyWDhx6szAu+aVs68It24Yoc1e+eA9QY0pPo/SLhU3BQ7UoayGWgphKXP7w+76i6xbxwGK17UORSi5UNy8Hd6EXNenegSsgToF7R99sX+r76GKsIoTm9L5tkQw/LmfjttegqxrxGpdxrJolOEM/w8L+s0563dYS28OWW9odPTRIjgA4cI80xJnAXwy6FyOAHCyq2U4bQxxZ8FxM1R4Qn/lVPnELyTZzhd46OftFYWkkG5UcAlx955/Jqh0y0RnpfpPxeUfitocgrn0owBX3C6/qCIPDm3pV1x7Uc=----ATTACHMENT:----NjA0MzM5NTQ1MjAwNzYxNyAyNzkwNjkyMjM4MzI2MDg3IDQ2NzIzMzcxMDU5MTIzODQ=