| 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($coinbaseApiClient): void |
||
| 22 | { |
||
| 23 | if (!$coinbaseApiClient instanceof CoinbaseApiClientInterface) { |
||
| 24 | throw new UnsupportedApiException('Not supported.Expected an instance of ' . CoinbaseApiClientInterface::class); |
||
| 25 | } |
||
| 26 | |||
| 27 | $this->coinbaseApiClient = $coinbaseApiClient; |
||
| 28 | } |
||
| 30 |