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