summaryrefslogtreecommitdiffstats
path: root/lib/public/isession.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/isession.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/isession.php')
-rw-r--r--lib/public/isession.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/isession.php b/lib/public/isession.php
index 9a996455f6b..aee635d7a9d 100644
--- a/lib/public/isession.php
+++ b/lib/public/isession.php
@@ -35,6 +35,7 @@ namespace OCP;
* Interface ISession
*
* wrap PHP's internal session handling into the ISession interface
+ * @since 6.0.0
*/
interface ISession {
@@ -43,6 +44,7 @@ interface ISession {
*
* @param string $key
* @param mixed $value
+ * @since 6.0.0
*/
public function set($key, $value);
@@ -51,6 +53,7 @@ interface ISession {
*
* @param string $key
* @return mixed should return null if $key does not exist
+ * @since 6.0.0
*/
public function get($key);
@@ -59,6 +62,7 @@ interface ISession {
*
* @param string $key
* @return bool
+ * @since 6.0.0
*/
public function exists($key);
@@ -66,16 +70,19 @@ interface ISession {
* Remove a $key/$value pair from the session
*
* @param string $key
+ * @since 6.0.0
*/
public function remove($key);
/**
* Reset and recreate the session
+ * @since 6.0.0
*/
public function clear();
/**
* Close the session and release the lock
+ * @since 7.0.0
*/
public function close();