You are here

public function RedirectMiddleware::__construct in Opigno dashboard 3.x

Constructs a RedirectMiddleware object.

Parameters

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

File

src/RedirectMiddleware.php, line 38

Class

RedirectMiddleware
Executes redirect before the main kernel takes over the request.

Namespace

Drupal\opigno_dashboard

Code

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