. namespace hoplite\http; /*! An Interceptor runs as part of FrontController::RouteRequest() to provide extra processing before the Action is Invoke()ed. The Action is provided to allow the Interceptor to change the control flow based on characteristics of the Action processor. An Interceptor may interrupt the control flow by calling SendResponse() on the controller. */ interface Interceptor { /*! Performs the action and fills out the response's data model. */ public function DoIntercept(FrontController $controller, Action $action = NULL, Request $request, Response $response); }