| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | public function __construct( |
||
| 39 | string $environment, |
||
| 40 | string $merchantId, |
||
| 41 | string $publicKey, |
||
| 42 | string $privateKey, |
||
| 43 | LoggerInterface $logger, |
||
| 44 | SettingsService $settingsService |
||
| 45 | ) { |
||
| 46 | $this->logger = $logger; |
||
| 47 | $this->gateway = new Gateway([ |
||
| 48 | 'environment' => $environment, |
||
| 49 | 'merchantId' => $merchantId, |
||
| 50 | 'publicKey' => $publicKey, |
||
| 51 | 'privateKey' => $privateKey |
||
| 52 | ]); |
||
| 53 | $this->settingsService = $settingsService; |
||
| 54 | } |
||
| 56 |