src/Web/Servlet/DispatcherServlet.php
protected function processDispatchResult(Request $request, Response $response, HandlerExecutionChain $mappedHandler, ModelAndView $mv = null, \Exception $ex = null)
    {
        // TODO: Render Exception
        if ($mv != null && !$mv->wasCleared()) {
            $this->render($mv, $request, $response);
        }
        if ($mappedHandler != null) {
            $mappedHandler->triggerAfterCompletion($request, $response, $ex);
        }
    }
protected function processDispatchResult(Request $request, Response $response, HandlerExecutionChain $mappedHandler, ModelAndView $mv = null, \Exception $ex = null)
    {
        // TODO: Render Exception
        if ($mv != null && !$mv->wasCleared()) {
            $this->render($mv, $request, $response);
        }
        if ($mappedHandler != null) {
            $mappedHandler->triggerAfterCompletion($request, $response, $ex);
        }
    }
protected function processDispatchResult ( Request $ request , Response $ response , HandlerExecutionChain $ mappedHandler , ModelAndView $ mv = null , \ Exception $ ex = null ) { // TODO: Render Exception if ( $ mv != null && ! $ mv -> wasCleared ( ) ) { $ this -> render ( $ mv , $ request , $ response ) ; } if ( $ mappedHandler != null ) { $ mappedHandler -> triggerAfterCompletion ( $ request , $ response , $ ex ) ; } }
Handle the result of a handler selection and handler invocation, which is
either a ModelAndView or an Exception to be resolved to a ModelAndView
@param Request               $request       current HTTP request
@param Response              $response      current HTTP response
@param HandlerExecutionChain $mappedHandler the mapped HandlerExecutionChain
@param ModelAndView          $mv            the ModelAndView to be processed, if any
@param \Exception            $ex            the thrown Exception, if any
@return void
Handle the result of a handler selection and handler invocation which is either a ModelAndView or an Exception to be resolved to a ModelAndView