getMetadataFactory() public method

public getMetadataFactory ( ) : ClassMetadataFactory
return Doctrine\ODM\CouchDB\Mapping\ClassMetadataFactory
Esempio n. 1
0
 /**
  * @param DocumentManager $dm
  */
 public function __construct(DocumentManager $dm)
 {
     $this->dm = $dm;
     $this->evm = $dm->getEventManager();
     $this->metadataResolver = $dm->getConfiguration()->getMetadataResolverImpl();
     $this->embeddedSerializer = new Mapping\EmbeddedDocumentSerializer($this->dm->getMetadataFactory(), $this->metadataResolver);
 }