TestKernel
in package
implements
HttpKernelInterface
Interfaces, Classes and Traits
- HttpKernelInterface
- HttpKernelInterface handles a Request to convert it to a Response.
Table of Contents
- $terminateCalled : mixed
- getProjectDir() : mixed
- handle() : Response
- Handles a Request to convert it to a Response.
- terminate() : mixed
Properties
$terminateCalled
public
mixed
$terminateCalled
= false
Methods
getProjectDir()
public
getProjectDir() : mixed
Return values
mixed —handle()
Handles a Request to convert it to a Response.
public
handle(Request $request[, mixed $type = self::MASTER_REQUEST ][, mixed $catch = true ]) : Response
When $catch is true, the implementation must catch all exceptions and do its best to convert them to a Response instance.
Parameters
- $request : Request
-
A Request instance
- $type : mixed = self::MASTER_REQUEST
-
The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
- $catch : mixed = true
-
Whether to catch exceptions or not
Return values
Response —A Response instance
terminate()
public
terminate() : mixed