You are here

public function DebugClassLoader::getClassLoader in Zircon Profile 8

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

Gets the wrapped class loader.

Return value

callable|object A class loader. Since version 2.5, returning an object is @deprecated and support for it will be removed in 3.0

File

vendor/symfony/debug/DebugClassLoader.php, line 63

Class

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

Namespace

Symfony\Component\Debug

Code

public function getClassLoader() {
  return $this->wasFinder ? $this->classLoader[0] : $this->classLoader;
}