LinkORB\Component\Etcd\Client::buildKeyUri PHP Method

buildKeyUri() private method

Build key space operations
private buildKeyUri ( string $key ) : string
$key string
return string
    private function buildKeyUri($key)
    {
        if (strpos('/', $key) === false) {
            $key = '/' . $key;
        }
        $uri = '/' . $this->apiversion . '/keys' . $this->root . $key;
        return $uri;
    }