interface MockHttpKernelInterface

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\MockHttpKernelInterface extends \Symfony\Component\HttpKernel\HttpKernelInterface

Expanded class hierarchy of MockHttpKernelInterface

All classes that implement MockHttpKernelInterface

File

core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php, line 115

Namespace

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

}

Members

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

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