TYPO3  7.6
Public Member Functions | List of all members
DispatcherInterface Interface Reference
Inheritance diagram for DispatcherInterface:
RouteDispatcher Dispatcher RouteDispatcher

Public Member Functions

 dispatch (ServerRequestInterface $request, ResponseInterface $response)
 

Detailed Description

An interface for dispatcher that delegate requests/responses to a certain callable, typically a controller / action combination.

Is usually called from the RequestHandler,

Definition at line 25 of file DispatcherInterface.php.

Member Function Documentation

dispatch ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Main method to dispatch a request and its response to a callable object

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Implemented in Dispatcher.