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/TestInteractionResource.php

24 lines
449 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\InteractionResource;
final readonly class TestInteractionResource implements InteractionResource {
public function __construct(
private string $source,
) {
}
#[\Override]
public function getID(): string {
return $this->source;
}
}