Passed
Push — master ( 491293...95a469 )
by Songda
01:54
created

ApplyPlugin::getUri()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Yansongda\Pay\Plugin\Wechat\Papay;
4
5
use Yansongda\Pay\Plugin\Wechat\GeneralV2Plugin;
6
use Yansongda\Pay\Rocket;
7
8
/**
9
 * @see https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter3_8.shtml
10
 */
11
class ApplyPlugin extends GeneralV2Plugin
12
{
13
    protected function getUri(Rocket $rocket): string
14
    {
15
        return 'pay/pappayapply';
16
    }
17
}
18