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.
파일 보기 프로젝트 열기: neos/flow-development-collection 0 사용 예제들

공개 메소드들

메소드 설명
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