You are here

public function LoadClassMetadataEventArgs::__construct in Plug 7

Constructor.

Parameters

ClassMetadata $classMetadata:

ObjectManager $objectManager:

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Event/LoadClassMetadataEventArgs.php, line 50

Class

LoadClassMetadataEventArgs
Class that holds event arguments for a loadMetadata event.

Namespace

Doctrine\Common\Persistence\Event

Code

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