1
0

TrustedServerRemovedEvent.php 559 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Federation\Events;
  8. use OCP\EventDispatcher\Event;
  9. /**
  10. * @since 25.0.0
  11. */
  12. class TrustedServerRemovedEvent extends Event {
  13. private string $urlHash;
  14. /**
  15. * @since 25.0.0
  16. */
  17. public function __construct(string $urlHash) {
  18. parent::__construct();
  19. $this->urlHash = $urlHash;
  20. }
  21. /**
  22. * @since 25.0.0
  23. */
  24. public function getUrlHash(): string {
  25. return $this->urlHash;
  26. }
  27. }