| Total Complexity | 6 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | class Gateway extends AbstractGateway |
||
| 14 | { |
||
| 15 | use GatewayTrait; |
||
| 16 | use OverwriteServerCompletePurchaseTrait; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @inheritDoc |
||
| 20 | */ |
||
| 21 | public function setSandbox($value) |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @inheritDoc |
||
| 28 | */ |
||
| 29 | public function getSandbox() |
||
| 30 | { |
||
| 31 | return $this->getTestMode() === true ? 'yes' : 'no'; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | public function isActive() |
||
| 44 | } |
||
| 45 | } |
||
| 46 |