function TestClosureHttpMiddlewareClass::__construct

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/TestClosureHttpMiddlewareClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\TestClosureHttpMiddlewareClass::__construct()

File

core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/TestClosureHttpMiddlewareClass.php, line 16

Class

TestClosureHttpMiddlewareClass
Stub of http_middleware class taking a service closure for the inner kernel.

Namespace

Drupal\Tests\Core\DependencyInjection\Fixture

Code

public function __construct(protected readonly \Closure $inner) {
}

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