Affects Version/s: None
Fix Version/s: None
Component/s: Class Loading
Sorry for the vague title of the issue, but here is the problem:
$classLoader = new ClassLoader('Tests', '/basePath/tests');
If I want to autoload \Tests\Class1, it will look for /basePath/tests/Tests/Class1.php.
I would like it to load: /basePath/tests/Class1.php. i.e., the namespace registered is removed from the path.
Do you see what I mean ? Zend Framework autoloader allow this behavior, I am surprised the Doctrine autoloader doesn't allow that.