0
0
mirror of https://github.com/nextcloud/server.git synced 2024-12-29 16:38:28 +00:00
nextcloud_server/lib/public/Files/AppData/IAppDataFactory.php
Andy Scherzinger dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00

25 lines
491 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Files\AppData;
use OCP\Files\IAppData;
/**
* A factory allows you to get the AppData folder for an application.
*
* @since 25.0.0
*/
interface IAppDataFactory {
/**
* Get the AppData folder for the specified $appId
* @param string $appId
* @return IAppData
* @since 25.0.0
*/
public function get(string $appId): IAppData;
}