for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Doctrine\Common\Persistence\Event;
use Doctrine\Common\EventArgs;
use Doctrine\Common\Persistence\ObjectManager;
/**
* Provides event arguments for the preFlush event.
*
* @link www.doctrine-project.org
* @since 2.2
* @author Roman Borschel <[email protected]>
* @author Benjamin Eberlei <[email protected]>
*/
class ManagerEventArgs extends EventArgs
{
* @var ObjectManager
private $objectManager;
* Constructor.
* @param ObjectManager $objectManager
public function __construct(ObjectManager $objectManager)
$this->objectManager = $objectManager;
}
* Retrieves the associated ObjectManager.
* @return ObjectManager
public function getObjectManager()
return $this->objectManager;