nextcloud/lib/public/App/Events/AppDisableEvent.php
Andy Scherzinger dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00

34 lines
531 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\App\Events;
use OCP\EventDispatcher\Event;
/**
* @since 27.0.0
*/
class AppDisableEvent extends Event {
private string $appId;
/**
* @since 27.0.0
*/
public function __construct(string $appId) {
parent::__construct();
$this->appId = $appId;
}
/**
* @since 27.0.0
*/
public function getAppId(): string {
return $this->appId;
}
}