Expanded class hierarchy of TestHttpKernel
class TestHttpKernel extends HttpKernel implements ControllerResolverInterface {
public function __construct() {
parent::__construct(new EventDispatcher(), $this);
}
public function getController(Request $request) {
return array(
$this,
'callController',
);
}
public function getArguments(Request $request, $controller) {
return array(
$request,
);
}
public function callController(Request $request) {
return new Response('Request: ' . $request
->getRequestUri());
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HttpKernel:: |
protected | property | ||
HttpKernel:: |
protected | property | ||
HttpKernel:: |
private | function | Filters a response object. | |
HttpKernel:: |
public | function |
Handles a Request to convert it to a Response. Overrides HttpKernelInterface:: |
3 |
HttpKernel:: |
private | function | Handles and exception by trying to convert it to a Response. | |
HttpKernel:: |
private | function | Handles a request to convert it to a response. | |
HttpKernel:: |
public | function |
@api Overrides TerminableInterface:: |
|
HttpKernel:: |
private | function | ||
HttpKernelInterface:: |
constant | |||
HttpKernelInterface:: |
constant | |||
TestHttpKernel:: |
public | function | ||
TestHttpKernel:: |
public | function |
Returns the arguments to pass to the controller. Overrides ControllerResolverInterface:: |
|
TestHttpKernel:: |
public | function |
Returns the Controller instance associated with a Request. Overrides ControllerResolverInterface:: |
|
TestHttpKernel:: |
public | function |
Constructor Overrides HttpKernel:: |