diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-16 17:00:08 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-16 17:00:08 +0200 |
commit | 7644950b48b094bfe5675348aefb7cf5747d325b (patch) | |
tree | a1792e21239a86f471da99b454134a5d8533ef77 /lib/public/api.php | |
parent | 8653da6c16597959c7bd0f0b202747ff96204575 (diff) | |
download | nextcloud-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.php | 2 |
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()){ |