mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> # Conflicts: # apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
18 lines
353 B
PHP
18 lines
353 B
PHP
<?php
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCA\User_LDAP;
|
|
|
|
class ConnectionFactory {
|
|
public function __construct(
|
|
private ILDAPWrapper $ldap,
|
|
) {
|
|
}
|
|
|
|
public function get($prefix) {
|
|
return new Connection($this->ldap, $prefix, 'user_ldap');
|
|
}
|
|
}
|