You are here

public function ManagerEventArgs::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/ManagerEventArgs.php \Doctrine\Common\Persistence\Event\ManagerEventArgs::__construct()

Constructor.

Parameters

ObjectManager $objectManager:

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/ManagerEventArgs.php, line 45

Class

ManagerEventArgs
Provides event arguments for the preFlush event.

Namespace

Doctrine\Common\Persistence\Event

Code

public function __construct(ObjectManager $objectManager) {
  $this->objectManager = $objectManager;
}