f7cloud_client/apps/user_ldap/lib/ConnectionFactory.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

19 lines
349 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2018 F7cloud GmbH and F7cloud 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');
}
}