Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
37 | 13 | public function __invoke(Config $config, string $diConfigKey = self::DEFAULT_DI_CONFIG_KEY, string $configServiceName = self::DEFAULT_CONFIG_SERVICE_NAME) |
|
38 | { |
||
39 | 13 | $this->config = $config; |
|
40 | 13 | $this->diConfigKey = $diConfigKey; |
|
41 | 13 | $this->configServiceName = $configServiceName; |
|
42 | |||
43 | 13 | $container = $this->createContainer(); |
|
44 | |||
45 | 13 | $this->configure($container); |
|
46 | |||
47 | 13 | return $container; |
|
48 | } |
||
49 | |||
83 |