public function SimpleLdapServer::__construct in Simple LDAP 8
Constructs a SimpleLdapServer.
Parameters
ConfigFactoryInterface $config_factory:
\Drupal\simple_ldap\SimpleLdap $ldap:
File
- src/
SimpleLdapServer.php, line 46
Class
Namespace
Drupal\simple_ldapCode
public function __construct(ConfigFactoryInterface $config_factory, SimpleLdap $ldap) {
$this->config = $config_factory
->get('simple_ldap.server');
$this->ldap = $ldap;
$this
->connect();
}