[DebugClassLoader] Readd findFile() method

This commit is contained in:
Thomas Calvet 2019-01-10 09:28:12 +01:00 committed by Fabien Potencier
parent 78e6f28f67
commit 4f690a31c6
1 changed files with 5 additions and 0 deletions

View File

@ -124,6 +124,11 @@ class DebugClassLoader
}
}
public function findFile($class): ?string
{
return $this->isFinder ? $this->classLoader[0]->findFile($class) ?: null : null;
}
/**
* Loads the given class or interface.
*