Hi guys,
I'm still fighting with implementing the 3rd-party PHP_Excel library. I'm
getting "Call to undefined method" errors,
which tells me something's wonky with autoloading.
I confirmed that PHPExcel_Autoloader::Load() is added to the autoloader stack,
but it never seems to be called. It's no
longer in the stack by the time ZF2 gets to my model.
Is there an analogy to ZF1's $loader->registerNamespace('PHPExcel') in ZF2?
The Composer\Autoload\ClassLoader, which is in the stack by model-time, does
have a reference to 'PHPExcel' in its
'prefixes' array. The other two entries, 'Zend\' and 'ZendTest\' both have a
backslash suffix. Could that be breaking
things?
Thanks,
-Brad
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]