Files
nextcloud-server-mirror/tests/lib/Sharing/TestInteractionReceiver.php
2026-07-20 09:39:22 +02:00

25 lines
455 B
PHP

<?php
/*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
declare(strict_types=1);
namespace Test\Sharing;
use OCP\Interaction\InteractionReceiver;
final readonly class TestInteractionReceiver implements InteractionReceiver {
public function __construct(
private string $recipient,
) {
}
#[\Override]
public function getID(): string {
return $this->recipient;
}
}