LDAPUtility.php 498 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCA\User_LDAP;
  8. abstract class LDAPUtility {
  9. protected ILDAPWrapper $ldap;
  10. /**
  11. * constructor, make sure the subclasses call this one!
  12. * @param ILDAPWrapper $ldapWrapper an instance of an ILDAPWrapper
  13. */
  14. public function __construct(ILDAPWrapper $ldapWrapper) {
  15. $this->ldap = $ldapWrapper;
  16. }
  17. }