PHP Class Basho\Riak\Command\Builder\FetchCounter

$command = (new Command\Builder\FetchCounter($riak)) ->buildLocation($user_name, 'user_visit_count', 'visit_counters') ->build(); $response = $command->execute(); $counter = $response->getCounter();
Inheritance: extends Basho\Riak\Command\Builder, implements Basho\Riak\Command\BuilderInterface, use trait Basho\Riak\Command\Builder\LocationTrait
Datei anzeigen Open project: basho/riak-php-client Class Usage Examples

Public Methods

Method Description
build ( ) : Basho\Riak\Command\DataType\Counter\Fetch;
validate ( )

Method Details

build() public method

public build ( ) : Basho\Riak\Command\DataType\Counter\Fetch;
return Basho\Riak\Command\DataType\Counter\Fetch;

validate() public method

public validate ( )