1
0

IAPIWidgetV2.php 484 B

123456789101112131415161718192021222324
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Dashboard;
  8. use OCP\Dashboard\Model\WidgetItems;
  9. /**
  10. * Interface IAPIWidgetV2
  11. *
  12. * @since 27.1.0
  13. */
  14. interface IAPIWidgetV2 extends IWidget {
  15. /**
  16. * Items to render in the widget
  17. *
  18. * @since 27.1.0
  19. */
  20. public function getItemsV2(string $userId, ?string $since = null, int $limit = 7): WidgetItems;
  21. }