summaryrefslogtreecommitdiffstats
path: root/lib/public/api.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/api.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/api.php')
-rw-r--r--lib/public/api.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/api.php b/lib/public/api.php
index e0c154dcebf..7ef6902634c 100644
--- a/lib/public/api.php
+++ b/lib/public/api.php
@@ -33,6 +33,7 @@ namespace OCP;
/**
* This class provides functions to manage apps in ownCloud
+ * @since 5.0.0
*/
class API {
@@ -45,6 +46,7 @@ class API {
* @param int $authLevel the level of authentication required for the call (See OC_API constants)
* @param array $defaults
* @param array $requirements
+ * @since 5.0.0
*/
public static function register($method, $url, $action, $app, $authLevel = OC_API::USER_AUTH,
$defaults = array(), $requirements = array()){