You are here

public function ServerFactory::__construct in Lightweight Directory Access Protocol (LDAP) 8.3

Constructor.

File

ldap_servers/src/ServerFactory.php, line 37

Class

ServerFactory
Helper class to working with the Server classes.

Namespace

Drupal\ldap_servers

Code

public function __construct(ConfigFactoryInterface $config_factory, LoggerInterface $logger, EntityTypeManagerInterface $entity_type_manager, CacheBackendInterface $cache) {
  $this->config = $config_factory;
  $this->logger = $logger;
  $this->entityManager = $entity_type_manager
    ->getStorage('ldap_server');
  $this->cache = $cache;
}