Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/route/irouter.php')
-rw-r--r--lib/public/route/irouter.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/route/irouter.php b/lib/public/route/irouter.php
index 1c003c7b4b9..daa1632e0c8 100644
--- a/lib/public/route/irouter.php
+++ b/lib/public/route/irouter.php
@@ -37,6 +37,13 @@ interface IRouter {
public function useCollection($name);
/**
+ * returns the current collection name in use for adding routes
+ *
+ * @return string the collection name
+ */
+ public function getCurrentCollection();
+
+ /**
* Create a \OCP\Route\IRoute.
*
* @param string $name Name of the route to create.