Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function __construct(ApplicationConfig $config, $prefix) |
||
29 | { |
||
30 | Assertion::string($prefix); |
||
31 | |||
32 | $this->prefix = $prefix; |
||
33 | $this->config = $config; |
||
34 | $this->provides = array_map( |
||
35 | function ($key) { |
||
36 | return $this->keyPrefix() . $key; |
||
37 | }, |
||
38 | $config->getKeys() |
||
39 | ); |
||
40 | } |
||
41 | |||
65 |