. */ 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.org * @since 2.0 * @author Daniel Freudenberger */ class PostFlushEventArgs extends EventArgs { /** * @var Doctrine\ORM\EntityManager */ private $em; /** * Constructor. * * @param Doctrine\ORM\EntityManager $em */ public function __construct(EntityManager $em) { $this->em = $em; } /** * Retrieve associated EntityManager. * * @return Doctrine\ORM\EntityManager */ public function getEntityManager() { return $this->em; } }