basho / riak-php-client

PHP clients for Riak
Apache License 2.0
160 stars 69 forks source link

Add exists method to Bucket class. #64

Closed eveiga closed 10 years ago

eveiga commented 10 years ago

This pull request implements a new method for checking if a given key exists in a bucket.

anthonysterling commented 10 years ago

:thumbsup:

kuenishi commented 10 years ago

2 months ago I said a method named exists sounds good ... but I found another method named exists at Object.php. It's so confusing (though the usage is quite different). I propose another name hasKey , would you mind of renaming to another name like this?

eveiga commented 10 years ago

@kuenishi Done!