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