Dispatcher

Dispatches requests to the controller which was specified by the request and returns the response the controller generated.

Internal

only to be used within Extbase, not part of TYPO3 Core API.

Table of Contents

Properties

$eventDispatcher  : EventDispatcherInterface

Methods

__construct()  : mixed
buildRequestFromCurrentRequestAndForwardResponse()  : RequestInterface
dispatch()  : ResponseInterface
Dispatches a request to a controller and initializes the security framework.
resolveController()  : ControllerInterface
Finds and instantiates a controller that matches the current request.

Properties

$eventDispatcher

protected EventDispatcherInterface $eventDispatcher

Methods

__construct()

public __construct(ContainerInterface $container, EventDispatcherInterface $eventDispatcher) : mixed
Parameters
$container : ContainerInterface
$eventDispatcher : EventDispatcherInterface

buildRequestFromCurrentRequestAndForwardResponse()

public static buildRequestFromCurrentRequestAndForwardResponse(RequestInterface $currentRequest, ForwardResponse $forwardResponse) : RequestInterface
Parameters
$currentRequest : RequestInterface
$forwardResponse : ForwardResponse
Internal

only to be used within Extbase, not part of TYPO3 Core API.

Tags
todo:

make this a private method again as soon as the tests, that fake the dispatching of requests, are refactored.

Return values
RequestInterface

        
On this page

Search results