PHP 클래스 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();
상속: extends Basho\Riak\Command\Builder, implements Basho\Riak\Command\BuilderInterface, use trait Basho\Riak\Command\Builder\LocationTrait
파일 보기 프로젝트 열기: basho/riak-php-client 1 사용 예제들

공개 메소드들

메소드 설명
build ( ) : Basho\Riak\Command\DataType\Counter\Fetch;
validate ( )

메소드 상세

build() 공개 메소드

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

validate() 공개 메소드

public validate ( )