DummyApp.php 902 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace Test\Notification;
  8. use OCP\Notification\IApp;
  9. use OCP\Notification\INotification;
  10. class DummyApp implements IApp {
  11. /**
  12. * @param INotification $notification
  13. * @throws \InvalidArgumentException When the notification is not valid
  14. * @since 9.0.0
  15. */
  16. public function notify(INotification $notification): void {
  17. // TODO: Implement notify() method.
  18. }
  19. /**
  20. * @param INotification $notification
  21. * @since 9.0.0
  22. */
  23. public function markProcessed(INotification $notification): void {
  24. // TODO: Implement markProcessed() method.
  25. }
  26. /**
  27. * @param INotification $notification
  28. * @return int
  29. * @since 9.0.0
  30. */
  31. public function getCount(INotification $notification): int {
  32. // TODO: Implement getCount() method.
  33. }
  34. }