2017-10-04 10:21:50 -04:00
|
|
|
<?php
|
2025-06-30 09:04:05 -04:00
|
|
|
|
2017-10-04 10:21:50 -04:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-10-04 10:21:50 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCP\Remote;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @since 13.0.0
|
2021-06-28 10:36:32 -04:00
|
|
|
* @deprecated 23.0.0
|
2017-10-04 10:21:50 -04:00
|
|
|
*/
|
|
|
|
|
interface IInstanceFactory {
|
|
|
|
|
/**
|
2017-10-19 07:50:27 -04:00
|
|
|
* @param string $url
|
2017-10-04 10:21:50 -04:00
|
|
|
* @return IInstance
|
|
|
|
|
*
|
|
|
|
|
* @since 13.0.0
|
2021-06-28 10:36:32 -04:00
|
|
|
* @deprecated 23.0.0
|
2017-10-04 10:21:50 -04:00
|
|
|
*/
|
|
|
|
|
public function getInstance($url);
|
|
|
|
|
}
|