Commit cbad4bff authored by beberlei's avatar beberlei

[2.0] DDC-358 - Refactored UnitOfWork Event triggering capabilities - Removed...

[2.0] DDC-358 - Refactored UnitOfWork Event triggering capabilities -  Removed check for EntityManager instance. This is deep in the code and can hardly be get wrong.
parent 96eaf67e
......@@ -21,8 +21,6 @@
namespace Doctrine\ORM\Event;
use Doctrine\ORM\EntityManager;
/**
* Lifecycle Events are triggered by the UnitOfWork
*
......@@ -45,7 +43,7 @@ class LifecycleEventArgs extends \Doctrine\Common\EventArgs
*/
private $_entity;
public function __construct($entity, EntityManager $em)
public function __construct($entity, $em)
{
$this->_entity = $entity;
$this->_em = $em;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment