| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class SwapSolverService |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The HTTP client. |
||
| 11 | * |
||
| 12 | * @var \GuzzleHttp\Client |
||
| 13 | */ |
||
| 14 | protected $client; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Create a new SwapSolverService instance. |
||
| 18 | * |
||
| 19 | * @param \GuzzleHttp\Client $client |
||
| 20 | */ |
||
| 21 | public function __construct(Client $client) |
||
| 22 | { |
||
| 23 | $this->client = $client; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get the possible matches for requested exchanges. |
||
| 28 | * |
||
| 29 | * @param array $exchanges |
||
| 30 | */ |
||
| 31 | public function getExchangesMatches($exchanges) |
||
| 35 | } |
||
| 36 | } |
||
| 37 |