In my application.ini, I comented out this lines:
pluginPaths.BisnaApplicationResource = "Bisna/Application/Resource"
and
autoloaderNamespaces[] = Bisna
but I still got the exception:
Uncaught exception 'ReflectionException' with message 'Class DoctrineORMMappingDriverAnnotationDriver does not exist' in C:SpiffylibSpiffyDoctrineContainer.php on line 359
What is not clear for me, is that in the bisna resource I had something like this:
end_Registry::set('doctrine', $container);
and in the spiffy resource I had like this:
`Zend_Registry::set('Spiffy_Doctrine', $container);`
But in my Boostrap.php, I had this two:
$this->bootstrap('doctrine');
$container = $this->getResource('doctrine');
I was expected to be a diffrence between doctrine and Spiffy_Doctrine, but is not. And something else that is for me, not understandable. I modify some line in Spiffy container like this:
try{
$reflClass = new ReflectionClass($driverClass);
}catch (LogicException $Exception) {
die('Not gonna make it in here...');
}
catch(ReflectionException $Exception)
{
die('Your class does not exist! ' );
}
but instead of cacthing the exception, I got this:
`Uncaught exception 'ReflectionException'`
Ps: Sorry for the duplication of content from the doctrine group from linekdin, but these are my answers. Rigth now I debug my application, maybe I will figure out what I'm missing, but any help will be great. Thank you.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…