You are here

public function LoginFirewall::__construct in Restrict Login or Role Access by IP Address 8.4

File

src/LoginFirewall.php, line 26

Class

LoginFirewall
Class LoginFirewall.

Namespace

Drupal\restrict_by_ip

Code

public function __construct(IPToolsInterface $ip_tools, ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory, UnroutedUrlAssemblerInterface $url_generator) {
  $this->ipTools = $ip_tools;
  $this->config = $config_factory
    ->get('restrict_by_ip.settings');
  $this->logger = $logger_factory
    ->get('restrict_by_ip');
  $this->urlGenerator = $url_generator;
}