Basho\Riak\Command\Builder\UpdateHll::build PHP Метод

build() публичный Метод

public build ( ) : Store
Результат Basho\Riak\Command\DataType\Hll\Store
    public function build()
    {
        $this->validate();
        return new Command\DataType\Hll\Store($this);
    }

Usage Example

Пример #1
0
 /**
  * Tests validate properly verifies the Bucket is not there
  *
  * @expectedException \Basho\Riak\Command\Builder\Exception
  */
 public function testValidateBucket()
 {
     $builder = new Command\Builder\UpdateHll(static::$riak);
     $builder->add('some_element');
     $builder->build();
 }