| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | public function normalize($object, $format = null, array $context = []) |
||
| 21 | { |
||
| 22 | $normalizedValues = $this->baseNormalizer->normalize($object, $format, $context); |
||
| 23 | |||
| 24 | $normalizedValues['type'] = $object->getType(); |
||
| 25 | $normalizedValues['type_config'] = $object->getTypeConfig(); |
||
| 26 | $normalizedValues['constraints'] = $object->getConstraints(); |
||
| 27 | |||
| 28 | return $normalizedValues; |
||
| 29 | } |
||
| 41 |