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