2025-01-20 09:05:27 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace OCP\Files\Config\Event;
|
|
|
|
|
|
|
|
|
|
use OCP\EventDispatcher\Event;
|
|
|
|
|
use OCP\Files\Config\ICachedMountInfo;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Event emitted when a user mount was moved.
|
|
|
|
|
*
|
2025-05-20 07:13:49 -04:00
|
|
|
* @since 32.0.0
|
2025-01-20 09:05:27 -05:00
|
|
|
*/
|
|
|
|
|
class UserMountUpdatedEvent extends Event {
|
|
|
|
|
public function __construct(
|
2025-07-01 04:50:28 -04:00
|
|
|
public readonly ICachedMountInfo $oldMountPoint,
|
|
|
|
|
public readonly ICachedMountInfo $newMountPoint,
|
2025-01-20 09:05:27 -05:00
|
|
|
) {
|
|
|
|
|
parent::__construct();
|
|
|
|
|
}
|
|
|
|
|
}
|