mirror of
https://github.com/nextcloud/server.git
synced 2026-06-17 12:42:50 -04:00
This patch introduces an entity and a mapper for Invites Signed-off-by: Micke Nordin <kano@sunet.se>
24 lines
504 B
PHP
24 lines
504 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2025 Micke Nordin <kano@sunet.se>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
namespace OCA\CloudFederationAPI\Events;
|
|
|
|
use OCA\CloudFederationApi\Db\FederatedInvite;
|
|
use OCP\EventDispatcher\Event;
|
|
|
|
class FederatedInviteAcceptedEvent extends Event {
|
|
public function __construct(
|
|
private FederatedInvite $invitation,
|
|
) {
|
|
parent::__construct();
|
|
}
|
|
|
|
public function getInvitation(): FederatedInvite {
|
|
return $this->invitation;
|
|
}
|
|
}
|