You are here

public function LoadClassMetadataEventArgs::__construct in Zircon Profile 8

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

Constructor.

Parameters

ClassMetadata $classMetadata:

ObjectManager $objectManager:

File

vendor/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;
}