瀏覽代碼

release 1.1

tags/1.1
0nepeop1e 4 年之前
父節點
當前提交
d729e84aeb
共有 3 個檔案被更改,包括 8 行新增0 行删除
  1. 5
    0
      .idea/codeStyles/codeStyleConfig.xml
  2. 2
    0
      src/Contracts/PaymentGatewayDriver.php
  3. 1
    0
      src/Facade/Payment.php

+ 5
- 0
.idea/codeStyles/codeStyleConfig.xml 查看文件

@@ -0,0 +1,5 @@
1
+<component name="ProjectCodeStyleConfiguration">
2
+  <state>
3
+    <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
4
+  </state>
5
+</component>

+ 2
- 0
src/Contracts/PaymentGatewayDriver.php 查看文件

@@ -14,4 +14,6 @@ interface PaymentGatewayDriver
14 14
     public function verifyGatewayReturn(Request $request): bool;
15 15
 
16 16
     public function verifyGatewayCallback(Request $request, Response &$response = null): bool;
17
+
18
+    public function getBillIdFromRequest(Request $request);
17 19
 }

+ 1
- 0
src/Facade/Payment.php 查看文件

@@ -18,6 +18,7 @@ use Symfony\Component\HttpFoundation\Response;
18 18
  * @method static string createPaymentURL(PayableEntity $payable, array $options = [])
19 19
  * @method static bool verifyGatewayReturn(Request $request)
20 20
  * @method static bool verifyGatewayCallback(Request $request, Response &$response = null)
21
+ * @method static string|null getBillIdFromRequest(Request $request)
21 22
  */
22 23
 class Payment extends Facade
23 24
 {

Loading…
取消
儲存