HandlerStackConfigurator::$middlewares

Same name in other branches
  1. 9 core/lib/Drupal/Core/Http/HandlerStackConfigurator.php \Drupal\Core\Http\HandlerStackConfigurator::middlewares
  2. 8.9.x core/lib/Drupal/Core/Http/HandlerStackConfigurator.php \Drupal\Core\Http\HandlerStackConfigurator::middlewares
  3. 11.x core/lib/Drupal/Core/Http/HandlerStackConfigurator.php \Drupal\Core\Http\HandlerStackConfigurator::middlewares

Array of middlewares to add to the handler stack.

Type: callable[]

File

core/lib/Drupal/Core/Http/HandlerStackConfigurator.php, line 29

Class

HandlerStackConfigurator
Defines a class for configuring middlewares on the http handler stack.

Namespace

Drupal\Core\Http

Code

protected $middlewares = NULL;

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