0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-30 22:37:01 +00:00
nextcloud_server/lib/public/Files/Storage/IConstructableStorage.php
Côme Chilliet eac9255966
chore: use a proper @param tag for IConstructableStorage constructor parameter
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-09-23 11:42:41 +02:00

26 lines
722 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal Nextcloud classes
namespace OCP\Files\Storage;
/**
* Marks a storage as constructable. Allows to pass the storage as a string to a mounpoint and let it build the instance.
*
* @since 31.0.0
*/
interface IConstructableStorage {
/**
* @param array $parameters is a free form array with the configuration options needed to construct the storage
*
* @since 31.0.0
*/
public function __construct(array $parameters);
}