1
0

IMessageReporter.php 465 B

123456789101112131415161718192021222324
  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 OCP\Support\CrashReport;
  8. /**
  9. * @since 17.0.0
  10. */
  11. interface IMessageReporter extends IReporter {
  12. /**
  13. * Report a (error) message
  14. *
  15. * @param string $message
  16. * @param array $context
  17. *
  18. * @since 17.0.0
  19. */
  20. public function reportMessage(string $message, array $context = []): void;
  21. }