You are here

class TestKernel in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-kernel/Tests/EventListener/ExceptionListenerTest.php \Symfony\Component\HttpKernel\Tests\EventListener\TestKernel
  2. 8 core/lib/Drupal/Core/Test/TestKernel.php \Drupal\Core\Test\TestKernel
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/EventListener/ExceptionListenerTest.php \Symfony\Component\HttpKernel\Tests\EventListener\TestKernel

Hierarchy

Expanded class hierarchy of TestKernel

File

vendor/symfony/http-kernel/Tests/EventListener/ExceptionListenerTest.php, line 132

Namespace

Symfony\Component\HttpKernel\Tests\EventListener
View source
class TestKernel implements HttpKernelInterface {
  public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true) {
    return new Response('foo');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
HttpKernelInterface::MASTER_REQUEST constant
HttpKernelInterface::SUB_REQUEST constant
TestKernel::handle public function Handles a Request to convert it to a Response. Overrides HttpKernelInterface::handle