Store the customized Shopro mall so it can be kept on the remote.

Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
wikiboss
2026-09-22 13:55:12 +08:00
当前提交 b87880e247
共有 2547 个文件被更改,包括 423496 次插入 和 0 次删除

查看文件

@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Event;
use Psr\Http\Message\ServerRequestInterface;
use Yansongda\Artful\Event\Event;
use Yansongda\Artful\Rocket;
class CallbackReceived extends Event
{
public string $provider;
public ?array $params = null;
public null|array|ServerRequestInterface $contents;
public function __construct(string $provider, null|array|ServerRequestInterface $contents, ?array $params = null, ?Rocket $rocket = null)
{
$this->provider = $provider;
$this->contents = $contents;
$this->params = $params;
parent::__construct($rocket);
}
}

查看文件

@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Event;
use Yansongda\Artful\Event\Event;
use Yansongda\Artful\Rocket;
class MethodCalled extends Event
{
public string $provider;
public string $name;
public array $params;
public function __construct(string $provider, string $name, array $params, ?Rocket $rocket = null)
{
$this->provider = $provider;
$this->name = $name;
$this->params = $params;
parent::__construct($rocket);
}
}

查看文件

@@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Event;
use Yansongda\Artful\Event\Event;
class PayEnd extends Event {}

查看文件

@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Event;
use Yansongda\Artful\Contract\PluginInterface;
use Yansongda\Artful\Event\Event;
use Yansongda\Artful\Rocket;
class PayStart 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);
}
}