From 6486e25a38798b04adbf926bd69da7a61c0e2563 Mon Sep 17 00:00:00 2001 From: Brikou CARRE Date: Tue, 10 Apr 2012 11:28:30 +0200 Subject: [PATCH] fixed used statements --- src/Symfony/Bundle/DoctrineBundle/Registry.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bundle/DoctrineBundle/Registry.php b/src/Symfony/Bundle/DoctrineBundle/Registry.php index eb6cce353d..656829ffcb 100644 --- a/src/Symfony/Bundle/DoctrineBundle/Registry.php +++ b/src/Symfony/Bundle/DoctrineBundle/Registry.php @@ -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) {