@@ 68-76 (lines=9) @@ | ||
65 | { |
|
66 | $bundles = $container->getParameter('kernel.bundles'); |
|
67 | ||
68 | if (array_key_exists('EightPointsGuzzleBundle', $bundles)) { |
|
69 | $config = $container->getExtensionConfig('eight_points_guzzle'); |
|
70 | $config[0]['clients']['cdn77'] = [ |
|
71 | 'base_url' => '' |
|
72 | ]; |
|
73 | $processedConfiguration = $this->processConfiguration(new \EightPoints\Bundle\GuzzleBundle\DependencyInjection\Configuration('eight_points_guzzle'), $config); |
|
74 | ||
75 | $container->prependExtensionConfig('eight_points_guzzle', $processedConfiguration); |
|
76 | } |
|
77 | if (array_key_exists('GuzzleBundle', $bundles)) { |
|
78 | $config = $container->getExtensionConfig('guzzle'); |
|
79 | $config[0]['clients']['cdn77'] = null; |
|
@@ 77-83 (lines=7) @@ | ||
74 | ||
75 | $container->prependExtensionConfig('eight_points_guzzle', $processedConfiguration); |
|
76 | } |
|
77 | if (array_key_exists('GuzzleBundle', $bundles)) { |
|
78 | $config = $container->getExtensionConfig('guzzle'); |
|
79 | $config[0]['clients']['cdn77'] = null; |
|
80 | $processedConfiguration = $this->processConfiguration(new \EightPoints\Bundle\GuzzleBundle\DependencyInjection\Configuration('guzzle'), $config); |
|
81 | ||
82 | $container->prependExtensionConfig('guzzle', $processedConfiguration); |
|
83 | } |
|
84 | } |
|
85 | } |
|
86 |