Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php \Drupal\Core\StackMiddleware\NegotiationMiddleware::app
  2. 9 core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php \Drupal\Core\StackMiddleware\NegotiationMiddleware::app

The wrapped HTTP kernel.

Type: \Symfony\Component\HttpKernel\HttpKernelInterface

File

core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php, line 19

Class

NegotiationMiddleware
Provides a middleware to determine the content type upon the accept header.

Namespace

Drupal\Core\StackMiddleware

Code

protected $app;