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.
ファイルを表示
Open project: neos/flow-development-collection
Interface Usage Examples
Public Methods
Method |
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 method
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 |
return |
void |
|