init
- 框架初始化 - 安装插件 - 修复PHP8.4报错
This commit is contained in:
31
addons/epay/library/v2/Yansongda/Pay/Events/PayStarted.php
Normal file
31
addons/epay/library/v2/Yansongda/Pay/Events/PayStarted.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Yansongda\Pay\Events;
|
||||
|
||||
class PayStarted extends Event
|
||||
{
|
||||
/**
|
||||
* Endpoint.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $endpoint;
|
||||
|
||||
/**
|
||||
* Payload.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $payload;
|
||||
|
||||
/**
|
||||
* Bootstrap.
|
||||
*/
|
||||
public function __construct(string $driver, ?string $gateway, ?string $endpoint, ?array $payload)
|
||||
{
|
||||
$this->endpoint = $endpoint;
|
||||
$this->payload = $payload;
|
||||
|
||||
parent::__construct($driver, $gateway);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user