Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function __construct( |
||
23 | array $classMap, |
||
24 | Locator $astLocator |
||
25 | ) { |
||
26 | parent::__construct($astLocator); |
||
27 | |||
28 | $realPaths = array_map('realpath', $classMap); |
||
29 | |||
30 | Assert::that($classMap)->all()->file(); |
||
31 | Assert::that(array_keys($classMap))->all()->string()->notEmpty(); |
||
32 | |||
33 | $this->classMap = $realPaths; |
||
34 | } |
||
54 |