Provides event arguments for the preFlush event.
@license http://www.opensource.org/licenses/lgpl-license.php LGPL @link www.doctrine-project.org @since 2.2 @author Roman Borschel <roman@code-factory.de> @author Benjamin Eberlei <kontakt@beberlei.de>
Expanded class hierarchy of ManagerEventArgs
class ManagerEventArgs extends \Doctrine\Common\EventArgs {
/**
* @var ObjectManager
*/
private $objectManager;
/**
* Constructor.
*
* @param ObjectManager $objectManager
*/
public function __construct(ObjectManager $objectManager) {
$this->objectManager = $objectManager;
}
/**
* Retrieve associated ObjectManager.
*
* @return ObjectManager
*/
public function getObjectManager() {
return $this->objectManager;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EventArgs:: |
private static | property | ||
EventArgs:: |
public static | function | Gets the single, empty and immutable EventArgs instance. | |
ManagerEventArgs:: |
private | property | ||
ManagerEventArgs:: |
public | function | Retrieve associated ObjectManager. | |
ManagerEventArgs:: |
public | function | Constructor. |