Reader mockup
This commit is contained in:
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user