| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function normalize($object, ?string $format = null, array $context = []): array |
||
| 26 | { |
||
| 27 | $context[self::ALREADY_CALLED] = true; |
||
| 28 | |||
| 29 | $data = $this->normalizer->normalize($object, $format, $context); |
||
| 30 | |||
| 31 | $data['fullName'] = $this->nameConvention->getPersonName($object); |
||
| 32 | |||
| 33 | return $data; |
||
| 34 | } |
||
| 50 |