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

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

        return new Http\Response($response);
    }
private function decorateResponse ( Response $ response ) { if ( $ response instanceof Http \ Response ) { return $ response ; } return new Http \ Response ( $ response ) ; }
Decorate the Response instance

@param Response $response
@return Http\Response
Decorate the Response instance