$command = (new Command\Builder\FetchCounter($riak))
->buildLocation($user_name, 'user_visit_count', 'visit_counters')
->build();
$response = $command->execute();
$counter = $response->getCounter();
Показать файл
Открыть проект
Примеры использования класса
Метод | Описание | |
---|---|---|
build ( ) : Basho\Riak\Command\DataType\Counter\Fetch; | ||
validate ( ) |
public build ( ) : Basho\Riak\Command\DataType\Counter\Fetch; | ||
Результат | Basho\Riak\Command\DataType\Counter\Fetch; |