aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair/Events/RepairStepEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Repair/Events/RepairStepEvent.php')
-rw-r--r--lib/private/Repair/Events/RepairStepEvent.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/private/Repair/Events/RepairStepEvent.php b/lib/private/Repair/Events/RepairStepEvent.php
new file mode 100644
index 00000000000..27e1efbdb08
--- /dev/null
+++ b/lib/private/Repair/Events/RepairStepEvent.php
@@ -0,0 +1,25 @@
+<?php
+
+declare(strict_types=1);
+
+/**
+ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+namespace OC\Repair\Events;
+
+use OCP\EventDispatcher\Event;
+
+class RepairStepEvent extends Event {
+ private string $stepName;
+
+ public function __construct(
+ string $stepName,
+ ) {
+ $this->stepName = $stepName;
+ }
+
+ public function getStepName(): string {
+ return $this->stepName;
+ }
+}