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/tests/lib/Sharing/TestInteractionReceiver.php

24 lines
455 B

<?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;
}
}