init
- 框架初始化 - 安装插件 - 修复PHP8.4报错
This commit is contained in:
40
addons/epay/library/v2/Yansongda/Pay/Events/Event.php
Normal file
40
addons/epay/library/v2/Yansongda/Pay/Events/Event.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user