return null;
}
- $data = $this->storage->getData($path);
+ $data = $this->storage->getMetaData($path);
$data['permissions'] = $permissions;
return $data;
/**
* @inheritdoc
*/
- public function getData($path) {
+ public function getMetaData($path) {
$data = [];
$data['mimetype'] = $this->getMimeType($path);
$data['mtime'] = $this->filemtime($path);
public function getStorageCache();
/**
- * @param $path
+ * @param string $path
* @return array
*/
- public function getData($path);
+ public function getMetaData($path);
}
}
/**
- * @param $path
+ * @param string $path
* @return array
*/
- public function getData($path) {
- $data = $this->storage->getData($path);
+ public function getMetaData($path) {
+ $data = $this->storage->getMetaData($path);
$fullPath = $this->getFullPath($path);
if (isset($this->unencryptedSize[$fullPath])) {
}
/**
- * @param $path
+ * @param string $path
* @return array
*/
- public function getData($path) {
- return $this->storage->getData($path);
+ public function getMetaData($path) {
+ return $this->storage->getMetaData($path);
}
}