summaryrefslogtreecommitdiffstats
path: root/lib/public/itempmanager.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-16 17:00:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-16 17:00:08 +0200
commit7644950b48b094bfe5675348aefb7cf5747d325b (patch)
treea1792e21239a86f471da99b454134a5d8533ef77 /lib/public/itempmanager.php
parent8653da6c16597959c7bd0f0b202747ff96204575 (diff)
downloadnextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.tar.gz
nextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.zip
Add @since tags to all methods in public namespace
* enhance the app development experience - you can look up the method introduction right inside the code without searching via git blame * easier to write apps for multiple versions
Diffstat (limited to 'lib/public/itempmanager.php')
-rw-r--r--lib/public/itempmanager.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/itempmanager.php b/lib/public/itempmanager.php
index ac67a852a31..7ba5b1e7bff 100644
--- a/lib/public/itempmanager.php
+++ b/lib/public/itempmanager.php
@@ -22,12 +22,19 @@
namespace OCP;
+/**
+ * Interface ITempManager
+ *
+ * @package OCP
+ * @since 8.0.0
+ */
interface ITempManager {
/**
* Create a temporary file and return the path
*
* @param string $postFix
* @return string
+ * @since 8.0.0
*/
public function getTemporaryFile($postFix = '');
@@ -36,16 +43,19 @@ interface ITempManager {
*
* @param string $postFix
* @return string
+ * @since 8.0.0
*/
public function getTemporaryFolder($postFix = '');
/**
* Remove the temporary files and folders generated during this request
+ * @since 8.0.0
*/
public function clean();
/**
* Remove old temporary files and folders that were failed to be cleaned
+ * @since 8.0.0
*/
public function cleanOld();
}