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