| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 19 | class SerializerFactory extends AbstractFactory |
||
| 20 | { |
||
| 21 | public function createSerializer(): Serializer |
||
| 22 | { |
||
| 23 | return new Serializer($this->getNormalizerPlugins(), $this->getEncoderPlugins()); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return NormalizerInterface[] array |
||
| 28 | */ |
||
| 29 | public function getNormalizerPlugins(): array |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return EncoderInterface[] array |
||
| 36 | */ |
||
| 37 | public function getEncoderPlugins(): array |
||
| 42 |