Console EntityManagerHelper now accepts EntityManagerInterface as constructor argument, instead of insisting on an EntityManager
This commit is contained in:
parent
7b8f09ee4a
commit
837c19bfc0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user