Merge pull request #393 from stof/root_entity_found
Updated the classmetadata factory for Common 2.3
This commit is contained in:
commit
58a2cba6da
@ -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…
x
Reference in New Issue
Block a user