$command = (new Command\Builder\FetchCounter($riak))
->buildLocation($user_name, 'user_visit_count', 'visit_counters')
->build();
$response = $command->execute();
$counter = $response->getCounter();
파일 보기
프로젝트 열기: basho/riak-php-client
1 사용 예제들
메소드 | 설명 | |
---|---|---|
build ( ) : Basho\Riak\Command\DataType\Counter\Fetch; | ||
validate ( ) |
public build ( ) : Basho\Riak\Command\DataType\Counter\Fetch; | ||
리턴 | Basho\Riak\Command\DataType\Counter\Fetch; |