| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function getSerializer() |
||
| 27 | { |
||
| 28 | if ($this->serializer === null) { |
||
| 29 | $this->serializer = SerializerBuilder::create() |
||
| 30 | ->setPropertyNamingStrategy(new SerializedNameAnnotationStrategy(new IdenticalPropertyNamingStrategy())) |
||
| 31 | ->build(); |
||
| 32 | } |
||
| 33 | |||
| 34 | return $this->serializer; |
||
| 35 | } |
||
| 36 | |||
| 68 |