extends |
AbstractSourceLocator |
---|
This source locator uses Composer's built-in ClassLoader to locate files.
Note that we use ClassLoader->findFile directory, rather than ClassLoader->loadClass because this library has a strict requirement that we do NOT actually load the classes
Methods | ||
---|---|---|
public
|
__construct(ClassLoader $classLoader, Locator $astLocator)
|
# |
protected
|
createLocatedSource(Identifier $identifier): ?LocatedSource
|
# |
Methods inherited from PHPStan\BetterReflection\SourceLocator\Type\AbstractSourceLocator |
---|
locateIdentifier(), locateIdentifiersByType() |