blob: 00a746636676aa9a87ca932c0526ea57c0631bed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<?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;
}
}
|