| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 24 | class SocketTransport implements TransportInterface |
||
| 25 | { |
||
| 26 | private SocketClient $client; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @throws InvalidConfigException |
||
| 30 | */ |
||
| 31 | public function __construct(SocketClient $client) |
||
| 34 | 17 | } |
|
| 35 | 17 | ||
| 36 | /** |
||
| 37 | * @throws ConnectionFailedException |
||
| 38 | * @throws ConnectionLostException |
||
| 39 | * @throws RemoteProcedureCallFailedException |
||
| 40 | */ |
||
| 41 | public function send(string $request): string |
||
| 54 |