You are here

public function Fast404EventSubscriber::__construct in Fast 404 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/Fast404EventSubscriber.php \Drupal\fast404\EventSubscriber\Fast404EventSubscriber::__construct()

Constructs a new Fast404EventSubscriber instance.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The Request Stack.

File

src/EventSubscriber/Fast404EventSubscriber.php, line 34

Class

Fast404EventSubscriber
Class Fast404EventSubscriber.

Namespace

Drupal\fast404\EventSubscriber

Code

public function __construct(RequestStack $request_stack) {
  $this->requestStack = $request_stack;
}