nextcloud/apps/user_ldap/lib/ConnectionFactory.php
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

# Conflicts:
#	apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +02:00

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');
}
}