Merge pull request #81 from krissss/master

增加对phpstorm的代码提示
This commit is contained in:
yansongda 2018-02-26 15:17:30 +08:00 committed by GitHub
commit 41b7de172b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 0 deletions

View File

@ -14,6 +14,14 @@ use Yansongda\Supports\Collection;
use Yansongda\Supports\Config;
use Yansongda\Supports\Str;
/**
* @method \Yansongda\Pay\Gateways\Alipay\AppGateway app(array $config) APP 支付
* @method \Yansongda\Pay\Gateways\Alipay\PosGateway pos(array $config) 刷卡支付
* @method \Yansongda\Pay\Gateways\Alipay\ScanGateway scan(array $config) 扫码支付
* @method \Yansongda\Pay\Gateways\Alipay\TransferGateway transfer(array $config) 帐户转账
* @method \Yansongda\Pay\Gateways\Alipay\WapGateway wap(array $config) 手机网站支付
* @method \Yansongda\Pay\Gateways\Alipay\WebGateway web(array $config) 电脑支付
*/
class Alipay implements GatewayApplicationInterface
{
/**

View File

@ -14,6 +14,17 @@ use Yansongda\Supports\Collection;
use Yansongda\Supports\Config;
use Yansongda\Supports\Str;
/**
* @method \Yansongda\Pay\Gateways\Wechat\AppGateway app(array $config) APP 支付
* @method \Yansongda\Pay\Gateways\Wechat\GroupRedpackGateway groupRedpack(array $config) 分裂红包
* @method \Yansongda\Pay\Gateways\Wechat\MiniappGateway miniapp(array $config) 小程序支付
* @method \Yansongda\Pay\Gateways\Wechat\MpGateway mp(array $config) 公众号支付
* @method \Yansongda\Pay\Gateways\Wechat\PosGateway pos(array $config) 刷卡支付
* @method \Yansongda\Pay\Gateways\Wechat\RedpackGateway redpack(array $config) 普通红包
* @method \Yansongda\Pay\Gateways\Wechat\ScanGateway scan(array $config) 扫码支付
* @method \Yansongda\Pay\Gateways\Wechat\TransferGateway transfer(array $config) 企业付款
* @method \Yansongda\Pay\Gateways\Wechat\WapGateway wap(array $config) H5 支付
*/
class Wechat implements GatewayApplicationInterface
{
/**

View File

@ -10,6 +10,10 @@ use Yansongda\Pay\Exceptions\GatewayException;
use Yansongda\Supports\Config;
use Yansongda\Supports\Str;
/**
* @method static \Yansongda\Pay\Gateways\Alipay alipay(array $config) 支付宝
* @method static \Yansongda\Pay\Gateways\Wechat wechat(array $config) 微信
*/
class Pay
{
/**