Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function __construct($importerKey) |
||
36 | { |
||
37 | $this->importerKey = $importerKey; |
||
38 | $this->serviceName = static::class . '.' . $this->importerKey; |
||
39 | |||
40 | $serviceConfig = Config::inst()->get($this->serviceName); |
||
41 | foreach ($serviceConfig as $key => $value) { |
||
42 | $this->config()->set($key, $value); |
||
43 | } |
||
46 |