| Total Complexity | 3 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | class SerializerSymfonyServiceProvider implements ServiceProviderInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @param \Pimple\Container $pimple |
||
| 20 | * |
||
| 21 | * @return void |
||
| 22 | */ |
||
| 23 | public function register(Container $pimple): void |
||
| 24 | { |
||
| 25 | $this->registerSerializer($pimple); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param \Pimple\Container $container |
||
| 30 | * |
||
| 31 | * @return \Jellyfish\SerializerSymfony\SerializerSymfonyServiceProvider |
||
| 32 | */ |
||
| 33 | protected function registerSerializer(Container $container): SerializerSymfonyServiceProvider |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return \Symfony\Component\Serializer\SerializerInterface |
||
| 48 | */ |
||
| 49 | protected function createSymfonySerializer(Container $container): SymfonySerializerInterface |
||
| 71 | ); |
||
| 72 | } |
||
| 74 |