WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface::getMetadataFactory PHP Method

getMetadataFactory() public method

public getMetadataFactory ( ) : Doctrine\Common\Persistence\Mapping\ClassMetadataFactory
return Doctrine\Common\Persistence\Mapping\ClassMetadataFactory
    public function getMetadataFactory();

Usage Example

 /**
  * Executes the actions
  *
  * @param InputInterface  $input
  * @param OutputInterface $output
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $metadataCollection = $this->doctrineHelper->getMetadataFactory()->getAllMetadata();
     $force = true === $input->getOption('force');
     foreach ($metadataCollection as $entityMetadata) {
         $this->dumpSerializationFile($entityMetadata, $output, $force);
     }
 }
All Usage Examples Of WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface::getMetadataFactory