/** * * @TODO use dependency injection * @param string $basePath * @param string $baseUrl */ public function __construct($basePath, $baseUrl) { $d = new LocalDataStorage($basePath); $d->setUrlUtil(new Url($basePath, $baseUrl)); parent::__construct($d, new LocalMetaStorage($basePath)); }
public function __construct(NullDataStorage $dataStorage, NullMetaStorage $metaStorage) { parent::__construct($dataStorage, $metaStorage); }
/** * @return Meta\AbstractMeta */ public function getMeta() { return $this->backend->getMeta(); }