1 | <?php |
||
21 | class ComposerLocator implements LocatorInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var ClassLoader |
||
25 | */ |
||
26 | private $loader; |
||
27 | |||
28 | 1 | public function __construct(ClassLoader $loader = null) |
|
44 | |||
45 | /** |
||
46 | * Returns a path to the file for given class name |
||
47 | * |
||
48 | * @param string $className Name of the class |
||
49 | * |
||
50 | * @return string|false Path to the file with given class or false if not found |
||
51 | */ |
||
52 | 1 | public function locateClass($className) |
|
61 | } |
||
62 |