\AlipayAlipayRequestFactory

Summary

Methods
Properties
Constants
createByApi()
createByClass()
create()
No public properties found
No constants found
validate()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

createByApi()

createByApi(string  $apiName, array  $config = array()) : \Alipay\Request\AbstractAlipayRequest

通过 `API 名称` 创建请求类实例

Parameters

string $apiName
array $config

Returns

\Alipay\Request\AbstractAlipayRequest

createByClass()

createByClass(string  $className, array  $config = array()) : \Alipay\Request\AbstractAlipayRequest

通过 `请求类名` 创建请求类实例

Parameters

string $className
array $config

Returns

\Alipay\Request\AbstractAlipayRequest

create()

create(string  $classOrApi, array  $config = array()) : \Alipay\Request\AbstractAlipayRequest

创建请求类实例

Parameters

string $classOrApi
array $config

Returns

\Alipay\Request\AbstractAlipayRequest

validate()

validate(string  $className) : void

验证某类可否被创建

Parameters

string $className