public static function createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface
    {
        return self::getResponseFactory()->createResponse($code, $reasonPhrase);
    }
public static function createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface
    {
        return self::getResponseFactory()->createResponse($code, $reasonPhrase);
    }
public static function createResponse ( int $ code = 200 , string $ reasonPhrase = '' ) : ResponseInterface { return self :: getResponseFactory ( ) -> createResponse ( $ code , $ reasonPhrase ) ; }
Creates a Response instance.
Creates a Response instance .