addMappingSource(__DIR__ . DIRECTORY_SEPARATOR . 'yaml', 'yaml'); $exporter = $cme->getExporter('php', $path); $exporter->setMetadatas($cme->getMetadatasForMappingSources()); $exporter->export(); */ return new PhpDriver($path); } }