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

24 lines
396 B
PHP
Raw Normal View History

<?php
namespace Doctrine\ORM\Event;
class LifecycleEventArgs extends \Doctrine\Common\EventArgs
{
private $_em;
private $_entity;
2009-07-18 22:06:30 +04:00
public function __construct($entity)
{
$this->_entity = $entity;
}
public function getEntity()
{
return $this->_entity;
}
2009-12-18 15:30:19 +03:00
public function getEntityManager()
{
return $this->_em;
}
}