public getMetadataFactory ( ) : Doctrine\Common\Persistence\Mapping\ClassMetadataFactory | ||
return | Doctrine\Common\Persistence\Mapping\ClassMetadataFactory |
public function getMetadataFactory();
/** * 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); } }