* @since 2.0 */ class LoadClassMetadataEventArgs extends EventArgs { /** * @var ClassMetadata */ private $classMetadata; /** * @var EntityManager */ private $em; /** * @param ClassMetadata $classMetadata * @param EntityManager $em */ public function __construct(ClassMetadata $classMetadata, EntityManager $em) { $this->classMetadata = $classMetadata; $this->em = $em; } /** * @return ClassMetadata */ public function getClassMetadata() { return $this->classMetadata; } /** * @return EntityManager */ public function getEntityManager() { return $this->em; } }