You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
478 B
26 lines
478 B
<?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);
|
|
}
|
|
}
|
|
|