PHP Interface Neos\Flow\Mvc\Controller\ControllerInterface

This interface serves as a common contract for all kinds of controllers. That is, in Flow it covers ActionController (dealing with ActionRequest) but also CommandController (dealing with CommandRequest). Controllers implementing this interface are compatible with the MVC Dispatcher.
Afficher le fichier Open project: neos/flow-development-collection Interface Usage Examples

Méthodes publiques

Méthode Description
processRequest ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response ) : void Processes a general request. The result can be returned by altering the given response.

Method Details

processRequest() public méthode

Processes a general request. The result can be returned by altering the given response.
public processRequest ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response ) : void
$request Neos\Flow\Mvc\RequestInterface The request object
$response Neos\Flow\Mvc\ResponseInterface The response, modified by the controller
Résultat void