CompletePurchaseResponse::initViewVars()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
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