Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1.0008 |
Changes | 0 |
1 | <?php |
||
29 | 1 | public function process(ContainerBuilder $container) |
|
30 | { |
||
31 | 1 | $definition = $container->getDefinition('serializer.mapping.chain_loader'); |
|
32 | 1 | $definition->replaceArgument( |
|
33 | 1 | 0, |
|
34 | array_merge( |
||
35 | 1 | $definition->getArgument(0), |
|
36 | [ |
||
37 | 1 | new Reference(PublishableLoader::class), |
|
38 | 1 | new Reference(TimestampedLoader::class), |
|
39 | 1 | new Reference(ComponentLoader::class), |
|
40 | 1 | new Reference(UploadableLoader::class), |
|
41 | ] |
||
46 |