src/Web/Servlet/DispatcherServlet.php
protected function triggerAfterCompletion(Request $request, Response $response, HandlerExecutionChain $mappedHandler, \Exception $ex)
    {
        if ($mappedHandler != null) {
            $mappedHandler->triggerAfterCompletion($request, $response, $ex);
        }
        throw $ex;
    }
protected function triggerAfterCompletion(Request $request, Response $response, HandlerExecutionChain $mappedHandler, \Exception $ex)
    {
        if ($mappedHandler != null) {
            $mappedHandler->triggerAfterCompletion($request, $response, $ex);
        }
        throw $ex;
    }
protected function triggerAfterCompletion ( Request $ request , Response $ response , HandlerExecutionChain $ mappedHandler , \ Exception $ ex ) { if ( $ mappedHandler != null ) { $ mappedHandler -> triggerAfterCompletion ( $ request , $ response , $ ex ) ; } throw $ ex ; }
Triggers after completion of the mappedHandler, if any
@param Request               $request       current HTTP request
@param Response              $response      current HTTP response
@param HandlerExecutionChain $mappedHandler the mapped HandlerExecutionChain
@param \Exception            $ex            the thrown Exception
@throws \Exception the thrown Exception
@return void
Triggers after completion of the mappedHandler if any