Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class PurchaseResponse extends AbstractResponse implements RedirectResponseInterface { |
||
12 | public function isSuccessful() |
||
13 | { |
||
14 | return false; |
||
15 | } |
||
16 | |||
17 | public function isRedirect() |
||
20 | } |
||
21 | |||
22 | public function getRedirectUrl() |
||
23 | { |
||
24 | // echo '<pre>'; print_r($this->data['url']); echo '</pre>'; die; |
||
25 | |||
26 | return $this->data['url'] ?? ''; |
||
27 | } |
||
28 | |||
29 | public function getRedirectMethod() |
||
32 | } |
||
33 | } |