RepairWarningEvent.php 443 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OC\Repair\Events;
  8. use OCP\EventDispatcher\Event;
  9. class RepairWarningEvent extends Event {
  10. private string $message;
  11. public function __construct(
  12. string $message,
  13. ) {
  14. $this->message = $message;
  15. }
  16. public function getMessage(): string {
  17. return $this->message;
  18. }
  19. }