You've already forked symfony-playground
inheritance
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user