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