Completed
Push — master ( 1be858...1c2c45 )
by Vuong
02:00
created

ResponseData   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getIsOk() 0 4 1
1
<?php
2
/**
3
 * @link https://github.com/yiiviet/yii2-payment
4
 * @copyright Copyright (c) 2017 Yii Viet
5
 * @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6
 */
7
8
9
namespace yiiviet\payment\vtcpay;
10
11
use vxm\gatewayclients\ResponseData as BaseResponseData;
12
13
/**
14
 * Lớp ResponseData cung cấp dữ liệu phản hồi từ VTCPay sau khi thực hiện hàm [[request()]] ở [[PaymentGateway]].
15
 *
16
 * @method PaymentClient getClient()
17
 *
18
 * @property PaymentClient $client
19
 *
20
 * @author Vuong Minh <[email protected]>
21
 * @since 1.0.2
22
 */
23
class ResponseData extends BaseResponseData
24
{
25
26
    /**
27
     * @inheritdoc
28
     */
29
    public function getIsOk(): bool
30
    {
31
        return true;
32
    }
33
34
}
35