summaryrefslogtreecommitdiffstats
path: root/lib/public/Calendar/Resource
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-19 12:22:30 +0200
committerGeorg Ehrke <developer@georgehrke.com>2018-06-25 04:59:04 +0200
commitcba783f5df8b0129d6b95056ef299e504fed4094 (patch)
tree0d9744ee201a041822277607181e8d81e3d04d63 /lib/public/Calendar/Resource
parentda533d747088633535e5d5281da433753d3cfc81 (diff)
downloadnextcloud-server-cba783f5df8b0129d6b95056ef299e504fed4094.tar.gz
nextcloud-server-cba783f5df8b0129d6b95056ef299e504fed4094.zip
Calendar resource booking: unit tests / adding missing annotations
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib/public/Calendar/Resource')
-rw-r--r--lib/public/Calendar/Resource/IBackend.php3
-rw-r--r--lib/public/Calendar/Resource/IManager.php7
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Calendar/Resource/IBackend.php b/lib/public/Calendar/Resource/IBackend.php
index 564c9e008b5..24635219fe0 100644
--- a/lib/public/Calendar/Resource/IBackend.php
+++ b/lib/public/Calendar/Resource/IBackend.php
@@ -37,6 +37,7 @@ interface IBackend {
*
* @throws BackendTemporarilyUnavailableException
* @return IResource[]
+ * @since 14.0.0
*/
public function getAllResources():array;
@@ -45,6 +46,7 @@ interface IBackend {
*
* @throws BackendTemporarilyUnavailableException
* @return string[]
+ * @since 14.0.0
*/
public function listAllResources():array;
@@ -54,6 +56,7 @@ interface IBackend {
* @param string $id
* @throws BackendTemporarilyUnavailableException
* @return IResource|null
+ * @since 14.0.0
*/
public function getResource($id);
diff --git a/lib/public/Calendar/Resource/IManager.php b/lib/public/Calendar/Resource/IManager.php
index d2ec7350dad..8542e13eba7 100644
--- a/lib/public/Calendar/Resource/IManager.php
+++ b/lib/public/Calendar/Resource/IManager.php
@@ -23,6 +23,12 @@
namespace OCP\Calendar\Resource;
+/**
+ * Interface IManager
+ *
+ * @package OCP\Calendar\Resource
+ * @since 14.0.0
+ */
interface IManager {
/**
@@ -52,6 +58,7 @@ interface IManager {
/**
* @param string $backendId
* @return IBackend
+ * @since 14.0.0
*/
public function getBackend($backendId):IBackend;