You are here

public function DebugClassLoader::findFile in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/debug/DebugClassLoader.php \Symfony\Component\Debug\DebugClassLoader::findFile()
  2. 8.0 vendor/symfony/class-loader/DebugClassLoader.php \Symfony\Component\ClassLoader\DebugClassLoader::findFile()
Same name and namespace in other branches
  1. 8 vendor/symfony/class-loader/DebugClassLoader.php \Symfony\Component\ClassLoader\DebugClassLoader::findFile()

Finds a file by class name.

Parameters

string $class A class name to resolve to file:

Return value

string|null

File

vendor/symfony/class-loader/DebugClassLoader.php, line 90

Class

DebugClassLoader
Autoloader checking if the class is really defined in the file found.

Namespace

Symfony\Component\ClassLoader

Code

public function findFile($class) {
  return $this->classFinder
    ->findFile($class);
}