summaryrefslogtreecommitdiffstats
path: root/lib/public/icontainer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/icontainer.php')
-rw-r--r--lib/public/icontainer.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/public/icontainer.php b/lib/public/icontainer.php
index d43c1c90f11..eaffa5d5a06 100644
--- a/lib/public/icontainer.php
+++ b/lib/public/icontainer.php
@@ -20,6 +20,14 @@
*
*/
+/**
+ * Public interface of ownCloud for apps to use.
+ * Container interface
+ *
+ */
+
+// use OCP namespace for all classes that are considered public.
+// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP;
/**
@@ -56,7 +64,7 @@ interface IContainer {
* In case the parameter is false the service will be recreated on every call.
*
* @param string $name
- * @param callable $closure
+ * @param \Closure $closure
* @param bool $shared
* @return void
*/