Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | public function setApi($multiSafepayApiClient): void |
||
22 | { |
||
23 | if (!$multiSafepayApiClient instanceof MultiSafepayApiClientInterface) { |
||
24 | throw new UnsupportedApiException('Not supported.Expected an instance of ' . MultiSafepayApiClientInterface::class); |
||
25 | } |
||
26 | |||
27 | $this->multiSafepayApiClient = $multiSafepayApiClient; |
||
28 | } |
||
30 |