mirror of
https://github.com/nextcloud/server.git
synced 2026-09-30 14:17:52 +02:00
Still deprecated but add a new non-deprecated and simpler api Signed-off-by: Carl Schwan <carl@carlschwan.eu>
35 lines
563 B
PHP
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;
|
|
}
|