Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | final class StaticClassMapSourceLocator extends AbstractSourceLocator |
||
17 | { |
||
18 | /** @var string[] */ |
||
19 | private $classMap; |
||
20 | |||
21 | /** @param string[] $classMap of class to file path. Every file must exist, every key must be non-empty */ |
||
22 | public function __construct( |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * {@inheritDoc} |
||
38 | */ |
||
39 | protected function createLocatedSource(Identifier $identifier) : ?LocatedSource |
||
54 |