Total Complexity | 1 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
9 | class AppPayment extends AbstractAlipay |
||
10 | { |
||
11 | /** |
||
12 | * Use app to pay for order. |
||
13 | * |
||
14 | * @param string $gateway |
||
15 | * @param array $payload |
||
16 | * |
||
17 | * @return \Symfony\Component\HttpFoundation\Response |
||
18 | * @throws \InvalidArgumentException |
||
19 | * @throws \Nilnice\Payment\Exception\InvalidKeyException |
||
20 | */ |
||
21 | public function toPay(string $gateway, array $payload) : Response |
||
37 |