|
@@ -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;
|
|
|
|
|
|
/**
|
|
@@ -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)
|
|
|
{
|