1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Merge pull request #393 from stof/root_entity_found

Updated the classmetadata factory for Common 2.3
This commit is contained in:
Benjamin Eberlei 2012-07-07 07:21:42 -07:00
commit 58a2cba6da

View File

@ -526,4 +526,12 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
{
return $this->driver;
}
/**
* {@inheritDoc}
*/
protected function isEntity(ClassMetadataInterface $class)
{
return isset($class->isMappedSuperclass) && $class->isMappedSuperclass === false;
}
}