| 1 | <?php |
||
| 8 | class AttributeOptionNormalizer implements NormalizerInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @param object AttributeOption $attributeOption |
||
| 12 | * @param null $format |
||
| 13 | * @param array $context |
||
| 14 | * @return array|\Symfony\Component\Serializer\Normalizer\scalar |
||
| 15 | */ |
||
| 16 | public function normalize( |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Checks whether the given class is supported for normalization by this normalizer |
||
| 37 | * |
||
| 38 | * @param mixed $data Data to normalize. |
||
| 39 | * @param string $format The format being (de-)serialized from or into. |
||
| 40 | * |
||
| 41 | * @return boolean |
||
| 42 | */ |
||
| 43 | public function supportsNormalization($data, $format = null) |
||
| 47 | } |
||
| 48 |