1
0
mirror of synced 2025-01-23 08:41:41 +03:00
doctrine2/lib/Doctrine/ORM/Event/LifecycleEventArgs.php

26 lines
412 B
PHP
Raw Normal View History

<?php
namespace Doctrine\ORM\Event;
class LifecycleEventArgs extends \Doctrine\Common\EventArgs
{
2010-01-29 21:24:29 +00:00
//private $_em;
private $_entity;
2009-07-18 18:06:30 +00:00
public function __construct($entity)
{
$this->_entity = $entity;
}
public function getEntity()
{
return $this->_entity;
}
2009-12-18 12:30:19 +00:00
2010-01-29 21:24:29 +00:00
/*
2009-12-18 12:30:19 +00:00
public function getEntityManager()
{
return $this->_em;
}
2010-01-29 21:24:29 +00:00
*/
}