-- Robert Basic <[email protected]> wrote
(on Tuesday, 26 June 2012, 09:56 PM +0200):
> As of ZF 1.12.0RC2 the Zend prefix is not autoregistered with the
> standard autoloader, so the AutoloaderFactory can't find the
> ClassMapAutoloader.php file.
> 
> 2 possible fixes: include explicitly the ClassMapAutoloader.php, or,
> in the AutoloaderFactory options, include the StandardAutoloader as
> the first, and the ClassMapAutoloader as the second loader.
> 
> I went with the first option and have updated my post accordingly:
> http://robertbasic.com/blog/using-the-new-autoloaders-from-zend-framework-1-12

Putting the StandardAutoloader first means it will trigger first,
negating the speed factor of the ClassMapAutoloader. As such, I'd go for
the first option, explicitly requiring the ClassMapAutoloader.php file.

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to