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.
34 lines
559 B
34 lines
559 B
1 year ago
|
<?php
|
||
|
|
||
|
namespace Yansongda\Pay\Events;
|
||
|
|
||
|
class MethodCalled extends Event
|
||
|
{
|
||
|
/**
|
||
|
* endpoint.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
public $endpoint;
|
||
|
|
||
|
/**
|
||
|
* payload.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
public $payload;
|
||
|
|
||
|
/**
|
||
|
* Bootstrap.
|
||
|
*
|
||
|
* @author yansongda <me@yansongda.cn>
|
||
|
*/
|
||
|
public function __construct(string $driver, string $gateway, string $endpoint, array $payload = [])
|
||
|
{
|
||
|
$this->endpoint = $endpoint;
|
||
|
$this->payload = $payload;
|
||
|
|
||
|
parent::__construct($driver, $gateway);
|
||
|
}
|
||
|
}
|