BaseClient
abstract class BaseClient
Traits
AppTrait
Properties
protected Resp | $error | error | from AppTrait |
protected Resp | $success | success | from AppTrait |
protected string | $iosAppKey | ||
protected string | $androidChannel | ||
protected string | $androidAppKey | ||
protected string | $accessKey | Aliyun Access Key |
|
protected string | $accessSecret | Aliyun Access Secret |
|
protected string | $androidActivity | ||
protected string | $clientName | ||
protected mixed | $result | 执行结果 |
Methods
setAppConfig($ak, $sk, $android_app_id, $android_channel = '', $ios_key = '')
No description
getResult()
No description
Push
initClient()
初始化
Details
in
AppTrait at line 45
bool
setError(string|MessageBag $error)
设置错误
at line 69
__construct(Config $config)
SendBase constructor.
at line 81
BaseClient
setAppConfig($ak, $sk, $android_app_id, $android_channel = '', $ios_key = '')
No description
at line 91
getResult()
No description
at line 99
protected Push
initClient()
初始化