Files
Carl Schwan 01475cfbae fix(calendar): Bring back getBackends
Still deprecated but add a new non-deprecated and simpler api

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2026-08-18 17:37:44 +02:00

35 lines
563 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Calendar\Resource;
/**
* @since 14.0.0
*/
interface IManager {
/**
* Update all resources from all backends right now.
*
* @since 30.0.0
*/
public function update(): void;
/**
* @return IBackend[]
* @since 14.0.0
* @deprecated 24.0.0 Use isEnabled instead
*/
public function getBackends():array;
/**
* @since 35.0.0
*/
public function isEnabled(): bool;
}