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

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

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

Usage Example

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