merged branch stof/doctrine_autoloading (PR #4317)

Commits
-------

fff7221 Fixed the proxy autoloading for Doctrine 2.2

Discussion
----------

Doctrine autoloading

This fixes the autoloading of proxies for Doctrine 2.2

---------------------------------------------------------------------------

by travisbot at 2012-05-17T22:36:11Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1361173) (merged fff72217 into b3799680).
This commit is contained in:
Fabien Potencier 2012-05-18 08:53:40 +02:00
commit 7b4ff552f6

View File

@ -58,7 +58,7 @@ class DoctrineBundle extends Bundle
if (1 === Version::compare('2.2.0')) {
$originalClassName = substr($className, 0, -5);
} else {
$originalClassName = ClassUtils::getRealClass($className);
$originalClassName = ClassUtils::getRealClass($class);
$originalClassName = str_replace('\\', '', $originalClassName);
}