Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
10 | public function load(array $configs, ContainerBuilder $containerBuilder) |
||
11 | { |
||
12 | // parent call is mandatory, or it will not work as expected! |
||
13 | parent::load($configs, $containerBuilder); |
||
14 | |||
15 | // we can set another config key (default is extension alias: $this->getAlias()) |
||
16 | $this->configBuilder->setKey('test'); |
||
17 | |||
18 | // we can merge over another config |
||
19 | $this->configBuilder->mergeOverByConfig([]); |
||
20 | |||
21 | // we can merge over multiple configs |
||
22 | $this->configBuilder->mergeOverByConfigs([[]]); |
||
23 | |||
24 | // we can merge default config |
||
25 | $this->configBuilder->mergeDefaultConfig([]); |
||
26 | |||
27 | // if you want, you can build config by: |
||
28 | $config = $this->configBuilder->build(); |
||
29 | |||
30 | // it will be built in process method and injected into interop_container service |
||
31 | } |
||
32 | |||
39 |