Skip to content

Commit

Permalink
Fixed depth inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
dantleech committed Mar 11, 2015
1 parent cf7b1e3 commit 534da57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ private function addInheritedFields(ClassMetadata $subClass, ClassMetadata $pare
if ($parentClass->localeMapping) {
$subClass->mapLocale($parentClass->mappings[$parentClass->localeMapping], $parentClass);
}
if ($parentClass->depthMapping) {
$subClass->mapDepth($parentClass->mappings[$parentClass->depthMapping], $parentClass);
}
if ($parentClass->versionNameField) {
$subClass->mapVersionName($parentClass->mappings[$parentClass->versionNameField], $parentClass);
}
Expand Down

0 comments on commit 534da57

Please sign in to comment.