Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class PurchaseResponse extends AbstractResponse |
||
13 | { |
||
14 | use HasViewTrait; |
||
15 | |||
16 | protected function initViewVars() |
||
17 | { |
||
18 | $data = $this->getData(); |
||
19 | $data['returnUrl'] .= strpos($data['returnUrl'], '?') === false ? $data['returnUrl'] . '?' : ''; |
||
20 | $this->getView()->with($data); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @inheritDoc |
||
25 | */ |
||
26 | protected function generateViewPath() |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | protected function getViewFile() |
||
39 |