class TheliaHttpKernel extends HttpKernel

Methods

__construct( EventDispatcherInterface $dispatcher, ContainerInterface $container, ControllerResolverInterface $controllerResolver, RequestStack $requestStack)

No description

getContainer()

No description

handle( Request $request, integer $type = HttpKernelInterface::MASTER_REQUEST, Boolean $catch = true)

Handles a Request to convert it to a Response.

Details

at line 36
__construct( EventDispatcherInterface $dispatcher, ContainerInterface $container, ControllerResolverInterface $controllerResolver, RequestStack $requestStack)

Parameters

EventDispatcherInterface $dispatcher
ContainerInterface $container
ControllerResolverInterface $controllerResolver
RequestStack $requestStack

at line 47
getContainer()

at line 70
Response handle( Request $request, integer $type = HttpKernelInterface::MASTER_REQUEST, Boolean $catch = true)

Handles a Request to convert it to a 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
integer $type The type of the request (one of HttpKernelInterface::MASTERREQUEST or HttpKernelInterface::SUBREQUEST)
Boolean $catch Whether to catch exceptions or not

Return Value

Response A Response instance

Exceptions

Exception When an Exception occurs during processing