\AlipayAlipayResponseFactory

Summary

Methods
Properties
Constants
__construct()
getFormat()
parse()
No public properties found
No constants found
No protected methods found
$format
N/A
No private methods found
No private properties found
N/A

Properties

$format

$format : 

Type

Methods

__construct()

__construct(string  $format = 'JSON') 

创建响应解析器

Parameters

string $format

预期数据格式

getFormat()

getFormat() 

parse()

parse(string  $raw) : \Alipay\AlipayResponse

将 HTTP API 响应体字符串解析为结构化的对象

Parameters

string $raw

原始响应字符串

Returns

\Alipay\AlipayResponse