Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function __construct(string $namespace) |
||
21 | { |
||
22 | // @codeCoverageIgnoreStart |
||
23 | if (!class_exists(ClassFinder::class)) { |
||
24 | throw new BadConfigurationException(__CLASS__ . ' can only be used if you require haydenpierce/class-finder in your project.'); |
||
25 | } |
||
26 | // @codeCoverageIgnoreEnd |
||
27 | $this->namespace = $namespace; |
||
28 | } |
||
55 |