ZF2-168: Strict checking in \Zend\Loader\AutoloaderFactory
Description
Zend\Loader\AutoloaderFactory::factory() Goes through all supplied options, and registers $class as an autoloader, however we do not check if it has implemented SplAutoloader.
Zend\Loader\AutoloaderFactory::factory() Goes through all supplied options, and registers $class as an autoloader, however we do not check if it has implemented SplAutoloader.
Comments
Posted by Roberto Wesley Overdijk (rwoverdijk) on 2012-02-20T00:06:22.000+0000
I'm also tackling the code underneath it, which is a bit redundant.
Posted by Roberto Wesley Overdijk (rwoverdijk) on 2012-02-20T00:11:45.000+0000
Edited, and sent pull request. https://github.com/zendframework/zf2/pull/802