diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index 2af25891f..bc9faadd7 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -379,7 +379,7 @@ public function () { $refl = new \ReflectionClass($this->_getClassToExtend()); - return $refl->getShortName(); + return $refl->getName(); } private function _getClassToExtendNamespace()