private function decorateResponse(ResponseInterface $response)
    {
        if ($response instanceof Http\Response) {
            return $response;
        }

        return new Http\Response($this, $response);
    }
private function decorateResponse(ResponseInterface $response)
    {
        if ($response instanceof Http\Response) {
            return $response;
        }

        return new Http\Response($this, $response);
    }
private function decorateResponse ( ResponseInterface $ response ) { if ( $ response instanceof Http \ Response ) { return $ response ; } return new Http \ Response ( $ this , $ response ) ; }
Decorates a response to add this app to it.

@param ResponseInterface $response
@return ResponseInterface|Http\Response
Decorates a response to add this app to it .