change naming position
This commit is contained in:
parent
d8227fcd06
commit
781a661704
1 changed files with 2 additions and 1 deletions
|
@ -777,11 +777,12 @@ class ClassMetadataInfo implements ClassMetadata
|
|||
{
|
||||
$this->reflClass = $reflService->getClass($this->name);
|
||||
$this->namespace = $reflService->getClassNamespace($this->name);
|
||||
$this->table['name'] = $this->namingStrategy->classToTableName($this->name);
|
||||
|
||||
if ($this->reflClass) {
|
||||
$this->name = $this->rootEntityName = $this->reflClass->getName();
|
||||
}
|
||||
|
||||
$this->table['name'] = $this->namingStrategy->classToTableName($this->name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue