AcceptHeaderMiddleware::$app

Same name and namespace in other branches
  1. 10 core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderMiddleware.php \Drupal\accept_header_routing_test\AcceptHeaderMiddleware::app
  2. 11.x core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderMiddleware.php \Drupal\accept_header_routing_test\AcceptHeaderMiddleware::app

The app kernel.

Type: app

File

core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderMiddleware.php, line 17

Class

AcceptHeaderMiddleware
Example implementation of "accept header"-based content negotiation.

Namespace

Drupal\accept_header_routing_test

Code

protected $app;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.