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.
41 lines
616 B
41 lines
616 B
1 year ago
|
<?php
|
||
|
|
||
|
namespace Yansongda\Pay\Events;
|
||
|
|
||
|
use Symfony\Contracts\EventDispatcher\Event as SymfonyEvent;
|
||
|
|
||
|
class Event extends SymfonyEvent
|
||
|
{
|
||
|
/**
|
||
|
* Driver.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
public $driver;
|
||
|
|
||
|
/**
|
||
|
* Method.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
public $gateway;
|
||
|
|
||
|
/**
|
||
|
* Extra attributes.
|
||
|
*
|
||
|
* @var mixed
|
||
|
*/
|
||
|
public $attributes;
|
||
|
|
||
|
/**
|
||
|
* Bootstrap.
|
||
|
*
|
||
|
* @author yansongda <me@yansongda.cn>
|
||
|
*/
|
||
|
public function __construct(string $driver, string $gateway)
|
||
|
{
|
||
|
$this->driver = $driver;
|
||
|
$this->gateway = $gateway;
|
||
|
}
|
||
|
}
|