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