1
0

IncompleteParsedNotificationException.php 645 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Notification;
  8. /**
  9. * Thrown when {@see \OCP\Notification\IManager::prepare()} is called with a notification
  10. * that does not have all required fields set at the end of the manager or after a INotifier
  11. * that claimed to have parsed the notification.
  12. *
  13. * Required fields are:
  14. *
  15. * - app
  16. * - user
  17. * - dateTime
  18. * - objectType
  19. * - objectId
  20. * - parsedSubject
  21. *
  22. * @since 30.0.0
  23. */
  24. class IncompleteParsedNotificationException extends \InvalidArgumentException {
  25. }