lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php 1 location
|
@@ 73-77 (lines=5) @@
|
70 |
|
isset($xmlRoot['repository-class']) ? (string) $xmlRoot['repository-class'] : null |
71 |
|
); |
72 |
|
$metadata->isMappedSuperclass = true; |
73 |
|
} else if ($xmlRoot->getName() == 'embeddable') { |
74 |
|
$metadata->isEmbeddedClass = true; |
75 |
|
} else { |
76 |
|
throw MappingException::classIsNotAValidEntityOrMappedSuperClass($className); |
77 |
|
} |
78 |
|
|
79 |
|
// Evaluate <entity...> attributes |
80 |
|
$primaryTable = []; |
lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php 1 location
|
@@ 70-74 (lines=5) @@
|
67 |
|
isset($element['repositoryClass']) ? $element['repositoryClass'] : null |
68 |
|
); |
69 |
|
$metadata->isMappedSuperclass = true; |
70 |
|
} else if ($element['type'] == 'embeddable') { |
71 |
|
$metadata->isEmbeddedClass = true; |
72 |
|
} else { |
73 |
|
throw MappingException::classIsNotAValidEntityOrMappedSuperClass($className); |
74 |
|
} |
75 |
|
|
76 |
|
// Evaluate root level properties |
77 |
|
$primaryTable = []; |