Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
22 | class ClientFactory |
||
23 | { |
||
24 | /** @var TransportFactory */ |
||
25 | private $transportFactory; |
||
26 | |||
27 | 15 | public function __construct(LoggerInterface $logger = null) |
|
28 | { |
||
29 | 15 | $this->transportFactory = new TransportFactory($logger); |
|
30 | 15 | } |
|
31 | |||
32 | 15 | public function createClient(string $connection, array $options = []): ClientInterface |
|
38 | } |
||
39 | } |
||
40 |