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:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-18 15:26:32 +0300
committerGeorg Ehrke <developer@georgehrke.com>2018-06-25 05:58:08 +0300
commitc83629674eca793cd184462fce5d85902964878c (patch)
treec8845f1adfdeffc102740bf97be20051c1f8844f /lib/public/Calendar/Room/IBackend.php
parentb832edabbfce23daca6edbb010c4bf180123930f (diff)
update resource booking interfaces and add managers
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib/public/Calendar/Room/IBackend.php')
-rw-r--r--lib/public/Calendar/Room/IBackend.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/public/Calendar/Room/IBackend.php b/lib/public/Calendar/Room/IBackend.php
index a7550347c74..84e01f6e320 100644
--- a/lib/public/Calendar/Room/IBackend.php
+++ b/lib/public/Calendar/Room/IBackend.php
@@ -36,14 +36,14 @@ interface IBackend {
*
* @return IRoom[]
*/
- public function getAllRooms();
+ public function getAllRooms():array;
/**
* get a list of all room identifiers in this backend
*
* @return string[]
*/
- public function listAllRooms();
+ public function listAllRooms():array;
/**
* get a room by it's id
@@ -52,4 +52,12 @@ interface IBackend {
* @return IRoom|null
*/
public function getRoom($id);
+
+ /**
+ * Get unique identifier of the backend
+ *
+ * @return string
+ * @since 14.0.0
+ */
+ public function getBackendIdentifier():string;
}