1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Console EntityManagerHelper now accepts EntityManagerInterface as constructor argument, instead of insisting on an EntityManager

This commit is contained in:
Tim Lieberman 2014-01-31 15:32:31 -08:00 committed by Benjamin Eberlei
parent 7b8f09ee4a
commit 837c19bfc0

View File

@ -37,7 +37,7 @@ class EntityManagerHelper extends Helper
/**
* Doctrine ORM EntityManager.
*
* @var EntityManager
* @var EntityManagerInterface
*/
protected $_em;
@ -46,7 +46,7 @@ class EntityManagerHelper extends Helper
*
* @param \Doctrine\ORM\EntityManager $em
*/
public function __construct(EntityManager $em)
public function __construct(EntityManagerInterface $em)
{
$this->_em = $em;
}