init
- 框架初始化 - 安装插件 - 修复PHP8.4报错
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Yansongda\Pay\Contracts;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Yansongda\Supports\Collection;
|
||||
|
||||
interface GatewayInterface
|
||||
{
|
||||
/**
|
||||
* Pay an order.
|
||||
*
|
||||
* @author yansongda <me@yansongda.cn>
|
||||
*
|
||||
* @param string $endpoint
|
||||
*
|
||||
* @return Collection|Response
|
||||
*/
|
||||
public function pay($endpoint, ?array $payload);
|
||||
}
|
||||
Reference in New Issue
Block a user