inheritance

This commit is contained in:
2022-05-22 18:01:54 +02:00
parent 53a3f43d75
commit f6a101d5e7
18 changed files with 907 additions and 2 deletions

View File

@ -63,4 +63,15 @@ class Entity1Repository extends ServiceEntityRepository
->getOneOrNullResult()
;
}
/**
* https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/schema-manager.html
*
* @return \Doctrine\DBAL\Schema\AbstractSchemaManager|null
* @throws \Doctrine\DBAL\Exception
*/
public function getSchemaManager()
{
return $this->getEntityManager()->getConnection()->getSchemaManager();
}
}