You are here

interface SimpleLdapConnectionInterface in Simple LDAP 8

Hierarchy

Expanded class hierarchy of SimpleLdapConnectionInterface

All classes that implement SimpleLdapConnectionInterface

2 files declare their use of SimpleLdapConnectionInterface
SimpleLdap.php in src/SimpleLdap.php
SimpleLdapConnection.php in src/SimpleLdapConnection.php

File

src/SimpleLdapConnectionInterface.php, line 8

Namespace

Drupal\simple_ldap
View source
interface SimpleLdapConnectionInterface {

  /**
   * Connect to the Simple LDAP server based on configuration settings.
   *
   * @throws \Drupal\simple_ldap\SimpleLdapException
   */
  public function connect();

  /**
   * Disconnect from LDAP server.
   */
  public function disconnect();

  /**
   * Get the LDAP link identifier for this SimpleLdapConnection
   *
   * @return resource
   *  LDAP link identifier
   */
  public function getResource();

}

Members

Namesort descending Modifiers Type Description Overrides
SimpleLdapConnectionInterface::connect public function Connect to the Simple LDAP server based on configuration settings. 1
SimpleLdapConnectionInterface::disconnect public function Disconnect from LDAP server. 1
SimpleLdapConnectionInterface::getResource public function Get the LDAP link identifier for this SimpleLdapConnection 1