You are here

public function FrontController::__construct in Subrequests 8

Same name and namespace in other branches
  1. 8.2 src/Controller/FrontController.php \Drupal\subrequests\Controller\FrontController::__construct()
  2. 3.x src/Controller/FrontController.php \Drupal\subrequests\Controller\FrontController::__construct()

FrontController constructor.

File

src/Controller/FrontController.php, line 29

Class

FrontController

Namespace

Drupal\subrequests\Controller

Code

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