- 新增epay v2、v3、v3new版本的支付类库及证书文件 - 新增cos云存储类库文件 - 调整文件上传保存格式为按分类存储 - 修复会员、规则、类目等语言翻译键名 - 新增小程序图标等静态资源文件
41 行
616 B
PHP
41 行
616 B
PHP
<?php
|
|
|
|
namespace Yansongda\Pay\Events;
|
|
|
|
use Symfony\Contracts\EventDispatcher\Event as SymfonyEvent;
|
|
|
|
class Event extends SymfonyEvent
|
|
{
|
|
/**
|
|
* Driver.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $driver;
|
|
|
|
/**
|
|
* Method.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $gateway;
|
|
|
|
/**
|
|
* Extra attributes.
|
|
*
|
|
* @var mixed
|
|
*/
|
|
public $attributes;
|
|
|
|
/**
|
|
* Bootstrap.
|
|
*
|
|
* @author yansongda <me@yansongda.cn>
|
|
*/
|
|
public function __construct(string $driver, string $gateway)
|
|
{
|
|
$this->driver = $driver;
|
|
$this->gateway = $gateway;
|
|
}
|
|
}
|