Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function let() |
||
18 | { |
||
19 | $filename = realpath(dirname(__FILE__) .'/../Resources/config/measure-test.yml'); |
||
20 | if (!file_exists($filename)) { |
||
21 | throw new \Exception(sprintf('Config file "%s" does not exist', $filename)); |
||
22 | } |
||
23 | |||
24 | $config = Yaml::parse(file_get_contents($filename)); |
||
25 | |||
26 | $this->setMeasureConfig($config['measures_config']); |
||
27 | } |
||
28 | |||
58 |