aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/files/objectstore/iobjectstore.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/public/files/objectstore/iobjectstore.php b/lib/public/files/objectstore/iobjectstore.php
index 3b6bd98d338..b2c5a9da134 100644
--- a/lib/public/files/objectstore/iobjectstore.php
+++ b/lib/public/files/objectstore/iobjectstore.php
@@ -11,21 +11,17 @@ interface IObjectStore {
/**
* @param string $urn the unified resource name used to identify the object
- * @param string $tmpFile path to the local temporary file that should be
- * used to store the object
- * @return void
+ * @return resource stream with the read data
* @throws Exception when something goes wrong, message will be logged
*/
- function getObject($urn, $tmpFile);
+ function readObject($urn);
/**
* @param string $urn the unified resource name used to identify the object
- * @param string $tmpFile path to the local temporary file that the object
- * should be loaded from
- * @return void
+ * @param resource $stream stream with the data to write
* @throws Exception when something goes wrong, message will be logged
*/
- function writeObject($urn, $tmpFile = null);
+ function writeObject($urn, $stream);
/**
* @param string $urn the unified resource name used to identify the object