0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-23 08:28:36 +00:00
nextcloud_server/lib/public/App/Events/AppUpdateEvent.php
Daniel Kesselberg 8d3b99349d
docs: update docs for ocp events
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-23 21:42:01 +02:00

36 lines
584 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;
/**
* This event is triggered when an app is updated.
*
* @since 27.0.0
*/
class AppUpdateEvent 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;
}
}