class ManagerEventArgs in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/ManagerEventArgs.php \Doctrine\Common\Persistence\Event\ManagerEventArgs
Provides event arguments for the preFlush event.
@link www.doctrine-project.org @since 2.2 @author Roman Borschel <roman@code-factory.de> @author Benjamin Eberlei <kontakt@beberlei.de>
Hierarchy
- class \Doctrine\Common\EventArgs
- class \Doctrine\Common\Persistence\Event\ManagerEventArgs
Expanded class hierarchy of ManagerEventArgs
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Event/ ManagerEventArgs.php, line 33
Namespace
Doctrine\Common\Persistence\EventView source
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;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EventArgs:: |
private static | property | Single instance of EventArgs. | |
EventArgs:: |
public static | function | Gets the single, empty and immutable EventArgs instance. | |
ManagerEventArgs:: |
private | property | ||
ManagerEventArgs:: |
public | function | Retrieves the associated ObjectManager. | |
ManagerEventArgs:: |
public | function | Constructor. |