From c83629674eca793cd184462fce5d85902964878c Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 18 Jun 2018 14:26:32 +0200 Subject: update resource booking interfaces and add managers Signed-off-by: Georg Ehrke --- lib/public/Calendar/Room/IBackend.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'lib/public/Calendar/Room/IBackend.php') 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; } -- cgit v1.2.3