php-etcd icon indicating copy to clipboard operation
php-etcd copied to clipboard

get with prefix

Open texnicii opened this issue 9 months ago • 1 comments

Added request with prefix which returns Generator<Mvccpb\KeyValue>

// example 
foreach ($client->getWithPrefix('/some-namespace') as $val) {
    echo $val->getKey() . " -> " . $val->getValue() . "\n";
}

texnicii avatar Apr 08 '25 13:04 texnicii