added a DebuClassLoader::findFile() method to make the wrapping less invasive
This commit is contained in:
parent
7b234db668
commit
0690709dbb
@ -69,6 +69,18 @@ class DebugClassLoader
|
||||
spl_autoload_unregister(array($this, 'loadClass'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds a file by class name
|
||||
*
|
||||
* @param string $class A class name to resolve to file
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function findFile($class)
|
||||
{
|
||||
return $this->classFinder->findFile($class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the given class or interface.
|
||||
*
|
||||
|
Reference in New Issue
Block a user