fixed used statements

This commit is contained in:
Brikou CARRE 2012-04-10 11:28:30 +02:00
parent 353085857b
commit 6486e25a38

View File

@ -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)
{