Dispatcher
Dispatches requests to the controller which was specified by the request and returns the response the controller generated.
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
only to be used within Extbase, not part of TYPO3 Core API.
Tags
Return values
RequestInterfacedispatch()
Dispatches a request to a controller and initializes the security framework.
    public
                    dispatch(RequestInterface $request) : ResponseInterface
    Parameters
- $request : RequestInterface
- 
                    The request to dispatch 
Tags
Return values
ResponseInterfaceresolveController()
Finds and instantiates a controller that matches the current request.
    protected
                    resolveController(RequestInterface $request) : ControllerInterface
    If no controller can be found, an instance of NotFoundControllerInterface is returned.
Parameters
- $request : RequestInterface
- 
                    The request to dispatch