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