You are here

public function BootSubscriber::__construct in Anti Spam by CleanTalk 8.3

Same name and namespace in other branches
  1. 8.4 src/EventSubscriber/BootSubscriber.php \Drupal\cleantalk\EventSubscriber\BootSubscriber::__construct()
  2. 9.1.x src/EventSubscriber/BootSubscriber.php \Drupal\cleantalk\EventSubscriber\BootSubscriber::__construct()

File

src/EventSubscriber/BootSubscriber.php, line 40

Class

BootSubscriber

Namespace

Drupal\cleantalk\EventSubscriber

Code

public function __construct(HttpKernelInterface $kernel, MessengerInterface $messenger = null) {
  $this->httpKernel = $kernel;
  $this->messenger = $messenger;
}