| 1 | <?php |
||
| 8 | class Normalizer implements NormalizerInterface, DenormalizerInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * {@inheritdoc} |
||
| 12 | */ |
||
| 13 | public function supportsNormalization($data, $format = null) |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | public function supportsDenormalization($data, $type, $format = null) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | public function normalize($object, $format = null, array $context = array()) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | public function denormalize($data, $class, $format = null, array $context = array()) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param mixed $callable |
||
| 59 | * @return bool |
||
| 60 | */ |
||
| 61 | private static function isClosure($callable) |
||
| 65 | } |
||
| 66 |