TestMiddleware::$optionalArgument

Same name in other branches
  1. 8.9.x core/modules/system/tests/modules/httpkernel_test/src/HttpKernel/TestMiddleware.php \Drupal\httpkernel_test\HttpKernel\TestMiddleware::optionalArgument
  2. 10 core/modules/system/tests/modules/http_kernel_test/src/HttpKernel/TestMiddleware.php \Drupal\http_kernel_test\HttpKernel\TestMiddleware::optionalArgument
  3. 11.x core/modules/system/tests/modules/http_kernel_test/src/HttpKernel/TestMiddleware.php \Drupal\http_kernel_test\HttpKernel\TestMiddleware::optionalArgument

An optional argument.

Type: mixed

File

core/modules/system/tests/modules/httpkernel_test/src/HttpKernel/TestMiddleware.php, line 26

Class

TestMiddleware
Provides a test middleware.

Namespace

Drupal\httpkernel_test\HttpKernel

Code

protected $optionalArgument;

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