[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

File Size: 176 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 vendor/symfony/http-kernel/Resources/welcome.html.php

Defines 1 class

RouterListener:: (7 methods):
  __construct()
  setCurrentRequest()
  onKernelFinishRequest()
  onKernelRequest()
  onKernelException()
  getSubscribedEvents()
  createWelcomeResponse()


Class: RouterListener  - X-Ref

Initializes the context from the request and sets request attributes based on a matching route.

__construct($matcher, RequestStack $requestStack, RequestContext $context = null, LoggerInterface $logger = null, $projectDir = null, $debug = true)   X-Ref

param: UrlMatcherInterface|RequestMatcherInterface $matcher      The Url or Request matcher
param: RequestStack                                $requestStack A RequestStack instance
param: RequestContext|null                         $context      The RequestContext (can be null when $matcher implements RequestContextAwareInterface)
param: LoggerInterface|null                        $logger       The logger
param: string                                      $projectDir
param: bool                                        $debug

setCurrentRequest(Request $request = null)   X-Ref
No description

onKernelFinishRequest(FinishRequestEvent $event)   X-Ref
After a sub-request is done, we need to reset the routing context to the parent request so that the URL generator
operates on the correct context again.


onKernelRequest(GetResponseEvent $event)   X-Ref
No description

onKernelException(GetResponseForExceptionEvent $event)   X-Ref
No description

getSubscribedEvents()   X-Ref
No description

createWelcomeResponse()   X-Ref
No description



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1