change naming position
This commit is contained in:
parent
d8227fcd06
commit
781a661704
@ -777,11 +777,12 @@ class ClassMetadataInfo implements ClassMetadata
|
|||||||
{
|
{
|
||||||
$this->reflClass = $reflService->getClass($this->name);
|
$this->reflClass = $reflService->getClass($this->name);
|
||||||
$this->namespace = $reflService->getClassNamespace($this->name);
|
$this->namespace = $reflService->getClassNamespace($this->name);
|
||||||
$this->table['name'] = $this->namingStrategy->classToTableName($this->name);
|
|
||||||
|
|
||||||
if ($this->reflClass) {
|
if ($this->reflClass) {
|
||||||
$this->name = $this->rootEntityName = $this->reflClass->getName();
|
$this->name = $this->rootEntityName = $this->reflClass->getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->table['name'] = $this->namingStrategy->classToTableName($this->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user