| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class PurchaseResponse extends AbstractResponse implements RedirectResponseInterface |
||
| 13 | { |
||
| 14 | use RedirectHtmlTrait { |
||
| 15 | getRedirectUrl as getRedirectUrlTrait; |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return array |
||
| 20 | */ |
||
| 21 | public function getRedirectData() |
||
| 22 | { |
||
| 23 | $data = [ |
||
| 24 | 'env_key' => $this->getDataProperty('env_key'), |
||
| 25 | 'data' => $this->getDataProperty('data'), |
||
| 26 | ]; |
||
| 27 | |||
| 28 | return $data; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @inheritDoc |
||
| 33 | */ |
||
| 34 | public function getRedirectUrl() |
||
| 43 | } |
||
| 44 | } |
||
| 45 |