Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Invalid
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Class Loading
-
Labels:None
Description
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.
Thanks
Hi, any news on this ?
I'd like to know if this is going to be corrected some day, or if I should not wait for it and find another solution ?
Thank you