class FinalTestNonTerminableHttpMiddlewareClass

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/FinalTestNonTerminableHttpMiddlewareClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\FinalTestNonTerminableHttpMiddlewareClass

Stub of http_middleware class that is declared final but is not terminable.

Hierarchy

Expanded class hierarchy of FinalTestNonTerminableHttpMiddlewareClass

1 file declares its use of FinalTestNonTerminableHttpMiddlewareClass
StackedKernelPassTest.php in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php

File

core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/FinalTestNonTerminableHttpMiddlewareClass.php, line 14

Namespace

Drupal\Tests\Core\DependencyInjection\Fixture
View source
final class FinalTestNonTerminableHttpMiddlewareClass implements HttpKernelInterface {
    
    /**
     * {@inheritdoc}
     */
    public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = TRUE) : Response {
        return new Response();
    }

}

Members

Title Sort descending Modifiers Object type Summary
FinalTestNonTerminableHttpMiddlewareClass::handle public function

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