diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index 230ab98b9..f2fa583c8 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -1,7 +1,5 @@ () { $refl = new \ReflectionClass($this->_getClassToExtend()); - return $refl->getName(); + return '\\' . $refl->getName(); } private function _getClassName(ClassMetadataInfo $metadata)