| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function __construct( |
||
| 26 | array $classMap, |
||
| 27 | Locator $astLocator |
||
| 28 | ) { |
||
| 29 | parent::__construct($astLocator); |
||
| 30 | |||
| 31 | /** @var string[] $realPaths */ |
||
| 32 | $realPaths = array_map('realpath', $classMap); |
||
| 33 | |||
| 34 | Assert::that($classMap)->all()->file(); |
||
| 35 | Assert::that(array_keys($classMap))->all()->notEmpty(); |
||
| 36 | |||
| 37 | $this->classMap = $realPaths; |
||
| 38 | } |
||
| 55 |