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