You are here

public function SimpleLdapUserManager::__construct in Simple LDAP 8

File

modules/simple_ldap_user/src/SimpleLdapUserManager.php, line 44

Class

SimpleLdapUserManager
Manages the loading and syncing of data between LDAP server and Drupal.

Namespace

Drupal\simple_ldap_user

Code

public function __construct(SimpleLdapServer $server, ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_manager) {
  $this->server = $server;
  $this->config = $config_factory
    ->get('simple_ldap.user');
  $this->entity_manager = $entity_manager;
}