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

change naming position

This commit is contained in:
Fabio B. Silva 2012-01-03 17:58:20 -02:00
parent d8227fcd06
commit 781a661704

View File

@ -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);
}
/**