Warning: You are browsing the documentation for version 2.2 which is not maintained anymore.
If some of your projects are still using this version, consider upgrading.
DebugClassLoader class was added in Symfony 2.1.
The DebugClassLoader attempts to
throw more helpful exceptions when a class isn't found by the registered
autoloaders. All autoloaders that implement a
findFile() method are replaced
DebugClassLoader is as easy as calling its static
1 2 3
use Symfony\Component\ClassLoader\DebugClassLoader; DebugClassLoader::enable();