init
- 框架初始化 - 安装插件 - 修复PHP8.4报错
This commit is contained in:
26
addons/epay/library/v3/Yansongda/Pay/Event/PayStarted.php
Normal file
26
addons/epay/library/v3/Yansongda/Pay/Event/PayStarted.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yansongda\Pay\Event;
|
||||
|
||||
use Yansongda\Pay\Contract\PluginInterface;
|
||||
use Yansongda\Pay\Rocket;
|
||||
|
||||
class PayStarted extends Event
|
||||
{
|
||||
/**
|
||||
* @var PluginInterface[]
|
||||
*/
|
||||
public array $plugins;
|
||||
|
||||
public array $params;
|
||||
|
||||
public function __construct(array $plugins, ?array $params, ?Rocket $rocket = null)
|
||||
{
|
||||
$this->plugins = $plugins;
|
||||
$this->params = $params;
|
||||
|
||||
parent::__construct($rocket);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user