You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/lib/public/Interaction/Receivers/EmailReceiver.php

35 lines
604 B

<?php
/*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
declare(strict_types=1);
namespace OCP\Interaction\Receivers;
use OCP\AppFramework\Attribute\Consumable;
use OCP\Interaction\InteractionReceiver;
/**
* @since 34.0.2
*/
#[Consumable(since: '34.0.2')]
final readonly class EmailReceiver implements InteractionReceiver {
/**
* @since 34.0.2
*/
public function __construct(
public string $email,
) {
}
/**
* @since 34.0.2
*/
#[\Override]
public function getID(): string {
return $this->email;
}
}