mirror of
https://github.com/nextcloud/server.git
synced 2026-03-23 19:03:20 -04:00
Based on work from https://github.com/nextcloud/server/pull/32019 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
33 lines
503 B
PHP
33 lines
503 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCP\User\Events;
|
|
|
|
use OCP\EventDispatcher\Event;
|
|
|
|
/**
|
|
* @since 31.0.0
|
|
*/
|
|
class UserIdAssignedEvent extends Event {
|
|
/**
|
|
* @since 31.0.0
|
|
*/
|
|
public function __construct(
|
|
private string $userId,
|
|
) {
|
|
parent::__construct();
|
|
}
|
|
|
|
/**
|
|
* @since 31.0.0
|
|
*/
|
|
public function getUserId(): string {
|
|
return $this->userId;
|
|
}
|
|
}
|