public static function format($phantomJsResponse)
    {
        $response = new Response(
            $phantomJsResponse->getStatus(),
            $phantomJsResponse->getHeaders(),
            $phantomJsResponse->getContent()
        );
        return $response;
    }
public static function format($phantomJsResponse)
    {
        $response = new Response(
            $phantomJsResponse->getStatus(),
            $phantomJsResponse->getHeaders(),
            $phantomJsResponse->getContent()
        );
        return $response;
    }
public static function format ( $ phantomJsResponse ) { $ response = new Response ( $ phantomJsResponse -> getStatus ( ) , $ phantomJsResponse -> getHeaders ( ) , $ phantomJsResponse -> getContent ( ) ) ; return $ response ; }
ResponseBridge constructor.
@param \JonnyW\PhantomJs\Http\Response|\JonnyW\PhantomJs\Http\ResponseInterface $phantomJsResponse
@return Response
ResponseBridge constructor .