You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nextcloud/lib/public/Dashboard/IReloadableWidget.php

23 lines
464 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Dashboard;
/**
* Allow {@see IAPIWidgetV2} to reload their items
*
* @since 27.1.0
*/
interface IReloadableWidget extends IAPIWidgetV2 {
/**
* Periodic interval in seconds in which to reload the widget's items
*
* @since 27.1.0
*/
public function getReloadInterval(): int;
}