CompletePurchaseResponse   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A initViewVars() 0 3 1
1
<?php
2
3
namespace ByTIC\Omnipay\PlatiOnline\Message;
4
5
use ByTIC\Omnipay\Common\Message\Traits\HtmlResponses\ConfirmHtmlTrait;
6
7
/**
8
 * Class CompletePurchaseResponse
9
 * @package ByTIC\Omnipay\PlatiOnline\Message
10
 */
11
class CompletePurchaseResponse extends AbstractResponse
12
{
13
    use ConfirmHtmlTrait;
14
    use Traits\RelayResponseTrait;
0 ignored issues
show
introduced by
The trait ByTIC\Omnipay\PlatiOnlin...aits\RelayResponseTrait requires some properties which are not provided by ByTIC\Omnipay\PlatiOnlin...ompletePurchaseResponse: $x_response_code, $x_response_reason_text, $f_order_number, $x_response_reason_code, $x_trans_id
Loading history...
15
16
    protected function initViewVars()
17
    {
18
        $this->getView()->set('message', $this->getMessage());
19
    }
20
}
21