Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
1 | <?php |
||
36 | public function __construct(array $values = []) |
||
37 | { |
||
38 | $config = new Config($values); |
||
39 | $emptyConfig = new Config([]); |
||
40 | |||
41 | $target = $config->get('target', $emptyConfig)->toArray(); |
||
42 | $this->configurations[] = new Target($target); |
||
43 | |||
44 | $target = $config->get('report', $emptyConfig)->toArray(); |
||
45 | $this->configurations[] = new Report($target); |
||
46 | |||
47 | $reporter = $config->get('reporter', $emptyConfig)->toArray(); |
||
48 | $this->configurations[] = new Reporter($reporter); |
||
49 | } |
||
50 | |||
65 |