[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/http-kernel/ -> HttpKernel.php (summary)

(no description)

File Size: 281 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HttpKernel:: (9 methods):
  __construct()
  handle()
  terminate()
  terminateWithException()
  handleRaw()
  filterResponse()
  finishRequest()
  handleException()
  varToString()


Class: HttpKernel  - X-Ref

HttpKernel notifies events to convert a Request object to a Response one.

__construct(EventDispatcherInterface $dispatcher, ControllerResolverInterface $resolver, RequestStack $requestStack = null)   X-Ref
No description

handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)   X-Ref
{@inheritdoc}


terminate(Request $request, Response $response)   X-Ref
{@inheritdoc}


terminateWithException(\Exception $exception, Request $request = null)   X-Ref


handleRaw(Request $request, $type = self::MASTER_REQUEST)   X-Ref
Handles a request to convert it to a response.

Exceptions are not caught.

param: Request $request A Request instance
param: int     $type    The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
return: Response A Response instance

filterResponse(Response $response, Request $request, $type)   X-Ref
Filters a response object.

param: Response $response A Response instance
param: Request  $request  An error message in case the response is not a Response object
param: int      $type     The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
return: Response The filtered Response instance

finishRequest(Request $request, $type)   X-Ref
Publishes the finish request event, then pop the request from the stack.

Note that the order of the operations is important here, otherwise
operations such as {@link RequestStack::getParentRequest()} can lead to
weird results.

param: Request $request
param: int     $type

handleException(\Exception $e, $request, $type)   X-Ref
Handles an exception by trying to convert it to a Response.

param: \Exception $e       An \Exception instance
param: Request    $request A Request instance
param: int        $type    The type of the request
return: Response A Response instance

varToString($var)   X-Ref
No description



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1