1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/lib/Doctrine/ORM/Event/LifecycleEventArgs.php
2009-12-18 12:30:19 +00:00

24 lines
396 B
PHP

<?php
namespace Doctrine\ORM\Event;
class LifecycleEventArgs extends \Doctrine\Common\EventArgs
{
private $_em;
private $_entity;
public function __construct($entity)
{
$this->_entity = $entity;
}
public function getEntity()
{
return $this->_entity;
}
public function getEntityManager()
{
return $this->_em;
}
}