2022-08-22 11:59:26 -04:00
|
|
|
<?php
|
2022-08-25 10:13:04 -04:00
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2022-08-22 11:59:26 -04:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2022-08-22 11:59:26 -04:00
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|