interface MockedHttpKernelInterface

Helper interface for the Symfony 6 version of the HttpKernelInterface.

@todo Remove this interface when the Symfony 6 is in core.

Hierarchy

  • interface \Drupal\Tests\Core\StackMiddleware\MockedHttpKernelInterface extends \Symfony\Component\HttpKernel\HttpKernelInterface

Expanded class hierarchy of MockedHttpKernelInterface

All classes that implement MockedHttpKernelInterface

File

core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php, line 165

Namespace

Drupal\Tests\Core\StackMiddleware
View source
interface MockedHttpKernelInterface extends HttpKernelInterface {
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = TRUE) : Response;

}

Members

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

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