zendframework/zf2 — pull request #802 by RWOverdijk (2012-02-20 00:10:25+00:00)
Title: Zend\Loader\AutoloaderFactory::factory() changes

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. I've added this check, as well as a test (which ran successfully: "OK (11 tests, 16 assertions)")

I've also altered some code that caused unnecessary checks and execution. Besides that I've added a cont to make sure that the "standard autoloader" classname was in one place.

Matthew has reviewed this and asked me to mention this.

"This sounds good; feel free to create a PR for it, and indicate I've
reviewed the change already."