Reader mockup

This commit is contained in:
2022-09-03 14:39:08 +02:00
parent 0542c7e844
commit 65e8f39da4
5 changed files with 66 additions and 0 deletions

View File

@ -27,6 +27,16 @@ class DatasetManager
return self::$datasets;
}
public function getDataset(string $identifier): Dataset
{
return self::$dataset[$identifier];
}
public function openDataset(string $identifier): ReaderInterface
{
return $this->getDataset($identifier)->open();
}
/**
* Find the vendor directory and try to locate all bundled datasets
*