Updated the classmetadata factory for Common 2.3
This adds the new method introduced in doctrine/common#162
This commit is contained in:
parent
0a95e42ea8
commit
8d0f49f227
@ -526,4 +526,12 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
|
|||||||
{
|
{
|
||||||
return $this->driver;
|
return $this->driver;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
|
protected function isEntity(ClassMetadataInterface $class)
|
||||||
|
{
|
||||||
|
return isset($class->isMappedSuperclass) && $class->isMappedSuperclass === false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user