diff options
Diffstat (limited to 'lib/public/Calendar/Resource/IBackend.php')
-rw-r--r-- | lib/public/Calendar/Resource/IBackend.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/public/Calendar/Resource/IBackend.php b/lib/public/Calendar/Resource/IBackend.php index 99a4ff06332..8b0ea677401 100644 --- a/lib/public/Calendar/Resource/IBackend.php +++ b/lib/public/Calendar/Resource/IBackend.php @@ -36,14 +36,14 @@ interface IBackend { * * @return IResource[] */ - public function getAllResources(); + public function getAllResources():array; /** * get a list of all resource identifiers in this backend * * @return string[] */ - public function listAllResources(); + public function listAllResources():array; /** * get a resource by it's id @@ -52,4 +52,12 @@ interface IBackend { * @return IResource|null */ public function getResource($id); + + /** + * Get unique identifier of the backend + * + * @return string + * @since 14.0.0 + */ + public function getBackendIdentifier():string; } |