fixed used statements
This commit is contained in:
parent
353085857b
commit
6486e25a38
@ -15,6 +15,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
use Symfony\Bridge\Doctrine\RegistryInterface;
|
||||
use Doctrine\DBAL\Connection;
|
||||
use Doctrine\ORM\Configuration;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use Doctrine\ORM\EntityRepository;
|
||||
use Doctrine\ORM\ORMException;
|
||||
|
||||
/**
|
||||
@ -109,7 +111,7 @@ class Registry implements RegistryInterface
|
||||
*
|
||||
* @param string $name The entity manager name (null for the default one)
|
||||
*
|
||||
* @return \Doctrine\ORM\EntityManager
|
||||
* @return EntityManager
|
||||
*/
|
||||
public function getEntityManager($name = null)
|
||||
{
|
||||
@ -154,7 +156,7 @@ class Registry implements RegistryInterface
|
||||
*
|
||||
* @param string $name The entity manager name (null for the default one)
|
||||
*
|
||||
* @return \Doctrine\ORM\EntityManager
|
||||
* @return EntityManager
|
||||
*/
|
||||
public function resetEntityManager($name = null)
|
||||
{
|
||||
@ -210,7 +212,7 @@ class Registry implements RegistryInterface
|
||||
* @param string $entityName The name of the entity.
|
||||
* @param string $entityManagerName The entity manager name (null for the default one)
|
||||
*
|
||||
* @return \Doctrine\ORM\EntityRepository
|
||||
* @return EntityRepository
|
||||
*/
|
||||
public function getRepository($entityName, $entityManagerName = null)
|
||||
{
|
||||
@ -222,7 +224,7 @@ class Registry implements RegistryInterface
|
||||
*
|
||||
* @param string $class A Doctrine Entity class name
|
||||
*
|
||||
* @return \Doctrine\ORM\EntityManager|null
|
||||
* @return EntityManager|null
|
||||
*/
|
||||
public function getEntityManagerForClass($class)
|
||||
{
|
||||
|
Reference in New Issue
Block a user