RepairStepEvent.php 445 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 RepairStepEvent extends Event {
  10. private string $stepName;
  11. public function __construct(
  12. string $stepName
  13. ) {
  14. $this->stepName = $stepName;
  15. }
  16. public function getStepName(): string {
  17. return $this->stepName;
  18. }
  19. }