| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 21 | public function __construct(string $strConfigFile) |
||
| 22 | { |
||
| 23 | if (!extension_loaded('yaml')) { |
||
| 24 | // no codecoverage: can only be tested on clean system... |
||
| 25 | trigger_error('The php extension [yaml] must be installed!', E_USER_ERROR); // @codeCoverageIgnore |
||
| 26 | } else { |
||
| 27 | $this->aConfig = $this->parseFile($strConfigFile); |
||
| 28 | } |
||
| 55 |