2013-06-11 20:08:02 -04:00
|
|
|
<?php
|
2024-05-29 05:32:54 -04:00
|
|
|
|
2013-06-11 20:08:02 -04:00
|
|
|
/**
|
2024-05-29 05:32:54 -04:00
|
|
|
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2013-06-11 20:08:02 -04:00
|
|
|
*/
|
2016-05-12 10:17:39 -04:00
|
|
|
namespace OCA\User_LDAP;
|
|
|
|
|
|
2013-09-10 11:11:02 -04:00
|
|
|
abstract class LDAPUtility {
|
2022-09-28 09:27:04 -04:00
|
|
|
protected ILDAPWrapper $ldap;
|
2013-06-11 20:08:02 -04:00
|
|
|
|
|
|
|
|
/**
|
2014-05-19 11:50:53 -04:00
|
|
|
* constructor, make sure the subclasses call this one!
|
2014-05-11 09:17:27 -04:00
|
|
|
* @param ILDAPWrapper $ldapWrapper an instance of an ILDAPWrapper
|
2013-06-11 20:08:02 -04:00
|
|
|
*/
|
2013-09-10 11:11:02 -04:00
|
|
|
public function __construct(ILDAPWrapper $ldapWrapper) {
|
2013-09-06 14:52:26 -04:00
|
|
|
$this->ldap = $ldapWrapper;
|
2013-06-11 20:08:02 -04:00
|
|
|
}
|
2013-09-11 13:42:08 -04:00
|
|
|
}
|