diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index d7de28c05..ba71288c2 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -191,6 +191,12 @@ class ClassMetadataFactory $this->_loadedMetadata[$className] = $class; } + /** + * Get array of parent classes for the given entity class + * + * @param string $name + * @return array $parentClasses + */ protected function _getParentClasses($name) { // Collect parent classes, ignoring transient (not-mapped) classes.