. */ namespace Doctrine\ORM\Event; /** * Provides event arguments for the onClear event. * * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.doctrine-project.com * @since 2.0 * @version $Revision$ * @author Roman Borschel * @author Benjamin Eberlei */ class OnClearEventArgs extends \Doctrine\Common\EventArgs { /** * @var \Doctrine\ORM\EntityManager */ private $em; /** * @param \Doctrine\ORM\EntityManager $em */ public function __construct($em) { $this->em = $em; } /** * @return \Doctrine\ORM\EntityManager */ public function getEntityManager() { return $this->em; } }