. */ namespace Doctrine\ORM\Event; use Doctrine\ORM\EntityManager; use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\Persistence\Event\LoadClassMetadataEventArgs as BaseLoadClassMetadataEventArgs; /** * Class that holds event arguments for a loadMetadata event. * * @method __construct(ClassMetadata $classMetadata, EntityManager $objectManager) * @method ClassMetadata getClassMetadata() */ class LoadClassMetadataEventArgs extends BaseLoadClassMetadataEventArgs { /** * Retrieve associated EntityManager. * * @return EntityManager */ public function getEntityManager() { return $this->getObjectManager(); } }