PHP Интерфейс 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.
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

processRequest() публичный Метод

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
Результат void