1
0
mirror of synced 2025-01-06 00:57:10 +03:00
doctrine2/lib/Doctrine/ORM/Event/LifecycleEventArgs.php
2010-01-29 21:24:29 +00:00

26 lines
412 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;
}
*/
}