class DebugClassLoader

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

The DebugClassLoader will wrap all registered autoloaders providing a findFile method and will throw an exception if a file is found but does not declare the class.

@author Fabien Potencier <fabien@symfony.com> @author Christophe Coevoet <stof@notk.org>

@api

Hierarchy

Expanded class hierarchy of DebugClassLoader

1 file declares its use of DebugClassLoader

File

drupal/core/vendor/symfony/class-loader/Symfony/Component/ClassLoader/DebugClassLoader.php, line 26

Namespace

Symfony\Component\ClassLoader
View source

Members

Namesort descending Modifiers Type Description Overrides
DebugClassLoader::$classFinder private property
DebugClassLoader::enable public static function Replaces all autoloaders implementing a findFile method by a DebugClassLoader wrapper.
DebugClassLoader::loadClass public function Loads the given class or interface.
DebugClassLoader::unregister public function Unregisters this instance as an autoloader.
DebugClassLoader::__construct public function Constructor.