diff options
Diffstat (limited to 'lib/public/Calendar/Room/IManager.php')
-rw-r--r-- | lib/public/Calendar/Room/IManager.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/public/Calendar/Room/IManager.php b/lib/public/Calendar/Room/IManager.php index 6529ad265b6..c55f3fd4ae4 100644 --- a/lib/public/Calendar/Room/IManager.php +++ b/lib/public/Calendar/Room/IManager.php @@ -1,4 +1,7 @@ <?php + +declare(strict_types=1); + /** * @copyright 2018, Georg Ehrke <oc.list@georgehrke.com> * @@ -23,9 +26,8 @@ namespace OCP\Calendar\Room; /** - * Interface IManager - * * @since 14.0.0 + * @deprecated 24.0.0 */ interface IManager { @@ -35,6 +37,7 @@ interface IManager { * @param string $backendClass * @return void * @since 14.0.0 + * @deprecated 24.0.0 use \OC\AppFramework\Bootstrap\::registerCalendarRoomBackend */ public function registerBackend(string $backendClass); @@ -44,12 +47,14 @@ interface IManager { * @param string $backendClass * @return void * @since 14.0.0 + * @deprecated 24.0.0 */ public function unregisterBackend(string $backendClass); /** * @return IBackend[] * @since 14.0.0 + * @deprecated 24.0.0 */ public function getBackends():array; @@ -57,6 +62,7 @@ interface IManager { * @param string $backendId * @return IBackend|null * @since 14.0.0 + * @deprecated 24.0.0 */ public function getBackend($backendId); @@ -64,6 +70,7 @@ interface IManager { * removes all registered backend instances * @return void * @since 14.0.0 + * @deprecated 24.0.0 */ public function clear(); } |