/**
  * Creates an adapter for given platform and client.
  * Wrap the client inside a platform adapter.
  *
  * @param ClientInterface $client
  *
  * @return AdapterInterface
  * @throws InputException
  */
 private function buildAdapter(ClientInterface $client)
 {
     // Build an adapter for client (as proxy between the connector and the client)
     $adapterFQCN = sprintf(self::ADAPTER_PATH, ucfirst($client->getProtocolName()));
     /** @var AdapterInterface $platFormAdapter */
     return new $adapterFQCN($client);
 }
 /**
  * {@inheritdoc}
  */
 public function getProtocol()
 {
     return $this->client->getProtocolName();
 }