Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
40 | private function hasSymfonySerializer(ContainerBuilder $container) |
||
41 | { |
||
42 | $interfaces = class_implements( |
||
43 | $container->getParameterBag()->resolveValue($container->getDefinition('serializer')->getClass()) |
||
44 | ); |
||
45 | |||
46 | return in_array(NormalizerInterface::class, $interfaces, true); |
||
47 | } |
||
48 | } |
||
49 |