public build ( ) : Basho\Riak\Command\DataType\Set\Fetch; | ||
return | Basho\Riak\Command\DataType\Set\Fetch; |
public function build()
{
$this->validate();
return new Command\DataType\Set\Fetch($this);
}
/** * Tests validate properly verifies the Location is not there * * @dataProvider getLocalNodeConnection * * @param $riak \Basho\Riak * * @expectedException \Basho\Riak\Command\Builder\Exception */ public function testValidateLocation($riak) { $builder = new Command\Builder\FetchSet($riak); $builder->buildBucket('some_bucket'); $builder->build(); }