| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 32 | 15 | public function createClient(string $connection, array $options = []): ClientInterface |
|
| 33 | { |
||
| 34 | 15 | $transport = $this->transportFactory->createTransport($connection, GeneralOptions::createFromArray($options)); |
|
| 35 | 14 | $clientBuilder = new ClientBuilder($transport); |
|
| 36 | |||
| 37 | 14 | return $clientBuilder->getClient(); |
|
| 38 | } |
||
| 40 |