%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps/user_ldap/lib/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps/user_ldap/lib/ConnectionFactory.php

<?php
/**
 * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCA\User_LDAP;

class ConnectionFactory {
	/** @var ILDAPWrapper */
	private $ldap;

	public function __construct(ILDAPWrapper $ldap) {
		$this->ldap = $ldap;
	}

	public function get($prefix) {
		return new Connection($this->ldap, $prefix, 'user_ldap');
	}
}

Zerion Mini Shell 1.0