src/ResponseFactory.php
public function make($responseBody, array $responseInfo)
    {
        $info = $this->makeResponseInfo($responseInfo);
        $response = $this->makeResponse($responseBody, $info);

        return $response;
    }
public function make($responseBody, array $responseInfo)
    {
        $info = $this->makeResponseInfo($responseInfo);
        $response = $this->makeResponse($responseBody, $info);

        return $response;
    }
public function make ( $ responseBody , array $ responseInfo ) { $ info = $ this -> makeResponseInfo ( $ responseInfo ) ; $ response = $ this -> makeResponse ( $ responseBody , $ info ) ; return $ response ; }
Make a response

@param $responseBody
@param array $responseInfo

@return Response
Make a response