1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Updated the classmetadata factory for Common 2.3

This adds the new method introduced in doctrine/common#162
This commit is contained in:
Christophe Coevoet 2012-07-06 22:18:06 +02:00
parent 0a95e42ea8
commit 8d0f49f227

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;
}
}