| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function __construct(string $classMapPath) |
||
| 20 | { |
||
| 21 | $classFiles = include $classMapPath; |
||
| 22 | |||
| 23 | $this->classes = collect($classFiles) |
||
| 24 | ->map(function (string $path, string $fqcn) { |
||
| 25 | $name = last(explode('\\', $fqcn)); |
||
| 26 | |||
| 27 | return compact('fqcn', 'name'); |
||
| 28 | }) |
||
| 29 | ->filter() |
||
| 30 | ->values(); |
||
| 31 | } |
||
| 32 | |||
| 55 |