[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

HttpKernel:: (7 methods):
  __construct()
  handle()
  terminate()
  handleRaw()
  filterResponse()
  handleException()
  varToString()


Class: HttpKernel  - X-Ref

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

__construct(EventDispatcherInterface $dispatcher, ControllerResolverInterface $resolver)   X-Ref
Constructor.

param: EventDispatcherInterface    $dispatcher An EventDispatcherInterface instance
param: ControllerResolverInterface $resolver   A ControllerResolverInterface instance

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


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


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

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: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1