summaryrefslogtreecommitdiffstats
path: root/lib/public/icontainer.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/icontainer.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/icontainer.php')
-rw-r--r--lib/public/icontainer.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public/icontainer.php b/lib/public/icontainer.php
index 10cb6bbe37d..27ca544ec67 100644
--- a/lib/public/icontainer.php
+++ b/lib/public/icontainer.php
@@ -36,6 +36,7 @@ namespace OCP;
* IContainer is the basic interface to be used for any internal dependency injection mechanism
*
* @package OCP
+ * @since 6.0.0
*/
interface IContainer {
@@ -44,6 +45,7 @@ interface IContainer {
*
* @param string $name
* @return mixed
+ * @since 6.0.0
*/
function query($name);
@@ -53,6 +55,7 @@ interface IContainer {
* @param string $name
* @param mixed $value
* @return void
+ * @since 6.0.0
*/
function registerParameter($name, $value);
@@ -67,6 +70,7 @@ interface IContainer {
* @param \Closure $closure
* @param bool $shared
* @return void
+ * @since 6.0.0
*/
function registerService($name, \Closure $closure, $shared = true);
}