You are here

public function HttpblEvaluator::__construct in http:BL 8

Construct HttpblEvaluator.

Parameters

\Drupal\ban\BanIpManagerInterface $banManager: Core Drupal Ban manager.

\Drupal\httpbl\Logger\HttpblLogTrapperInterface $logTrapper: A logger arbitration instance.

File

src/HttpblEvaluator.php, line 123

Class

HttpblEvaluator
HttpblEvaluator evaluates visitor/host page requests.

Namespace

Drupal\httpbl

Code

public function __construct(BanIpManagerInterface $banManager, HttpblLogTrapperInterface $logTrapper) {
  $this->banManager = $banManager;
  $this->logTrapper = $logTrapper;
}