diff options
author | Georg Ehrke <developer@georgehrke.com> | 2018-06-18 15:26:32 +0300 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2018-06-25 05:58:08 +0300 |
commit | c83629674eca793cd184462fce5d85902964878c (patch) | |
tree | c8845f1adfdeffc102740bf97be20051c1f8844f /lib/public/Calendar/Room/IBackend.php | |
parent | b832edabbfce23daca6edbb010c4bf180123930f (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.php | 12 |
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; } |