init
- 框架初始化 - 安装插件 - 修复PHP8.4报错
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Yansongda\Pay\Events;
|
||||
|
||||
class RequestReceived extends Event
|
||||
{
|
||||
/**
|
||||
* Received data.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* Bootstrap.
|
||||
*
|
||||
* @author yansongda <me@yansongda.cn>
|
||||
*/
|
||||
public function __construct(string $driver, ?string $gateway, ?array $data)
|
||||
{
|
||||
$this->data = $data;
|
||||
|
||||
parent::__construct($driver, $gateway);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user