You are here

public function OnClearEventArgs::__construct in Plug 7

Constructor.

Parameters

ObjectManager $objectManager The object manager.:

string|null $entityClass The optional entity class.:

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Event/OnClearEventArgs.php, line 51

Class

OnClearEventArgs
Provides event arguments for the onClear event.

Namespace

Doctrine\Common\Persistence\Event

Code

public function __construct($objectManager, $entityClass = null) {
  $this->objectManager = $objectManager;
  $this->entityClass = $entityClass;
}