发布于 2015-08-27 16:39:22 | 125 次阅读 | 评论: 0 | 来源: 网络整理
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
with a DebugClassLoader wrapper.
Using the DebugClassLoader is as easy as calling its static
enable() method:
use SymfonyComponentDebugDebugClassLoader;
DebugClassLoader::enable();