1 | <?php |
||
12 | class Extension implements ExtensionInterface |
||
13 | { |
||
14 | const PARAMETER_NAME_PACT_PROVIDERS = 'pact.providers.config'; |
||
15 | |||
16 | const PARAMETER_NAME_PACT_COMMON_CONFIG = 'pact.common.config'; |
||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | public function configure(ArrayNodeDefinition $builder) |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function load(ContainerBuilder $container, array $config) |
||
46 | |||
47 | /** |
||
48 | * @param array $config |
||
49 | */ |
||
50 | private function resolveConsumerVersion(array &$config) |
||
61 | |||
62 | /** |
||
63 | * @param array $originalConfig |
||
64 | * |
||
65 | * @return array |
||
66 | */ |
||
67 | private function normalizeProvidersConfig(array $originalConfig): array |
||
83 | |||
84 | /** |
||
85 | * {@inheritdoc} |
||
86 | */ |
||
87 | public function getConfigKey() |
||
91 | |||
92 | /** |
||
93 | * {@inheritdoc} |
||
94 | */ |
||
95 | public function initialize(ExtensionManager $extensionManager) |
||
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | public function process(ContainerBuilder $container) |
||
105 | } |
||
106 |