function TestCompatClosureHttpMiddlewareClass::__construct
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/TestCompatClosureHttpMiddlewareClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\TestCompatClosureHttpMiddlewareClass::__construct()
File
-
core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Fixture/ TestCompatClosureHttpMiddlewareClass.php, line 16
Class
- TestCompatClosureHttpMiddlewareClass
- Stub of http_middleware class taking a service closure with bc.
Namespace
Drupal\Tests\Core\DependencyInjection\FixtureCode
public function __construct(protected readonly HttpKernelInterface|\Closure $inner) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.