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