You are here

public function BatApiMiddleware::__construct in Booking and Availability Management API 8

Constructs a BatApiMiddleware object.

Parameters

\Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The decorated kernel.

File

src/StackMiddleware/BatApiMiddleware.php, line 30
Contains \Drupal\bat_api\StackMiddleware\BatApiMiddleware.php

Class

BatApiMiddleware
Provides a HTTP middleware.

Namespace

Drupal\bat_api\StackMiddleware

Code

public function __construct(HttpKernelInterface $http_kernel) {
  $this->httpKernel = $http_kernel;
}