Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
15 | protected function updateParametersFromGateway($gateway) |
||
16 | { |
||
17 | $this->setTerminal($gateway->getTerminal()); |
||
|
|||
18 | $this->setKey($gateway->getKey()); |
||
19 | $this->setMerchantName($gateway->getMerchantName()); |
||
20 | $this->setMerchantEmail($gateway->getMerchantEmail()); |
||
21 | $this->setMerchantUrl($gateway->getMerchantUrl()); |
||
22 | } |
||
24 |