$command = (new Command\Builder\FetchSet($riak)) ->buildLocation($user_id, 'email_subscriptions', 'user_preferences') ->build(); $response = $command->execute(); $set = $response->getSet();
Inheritance: extends Basho\Riak\Command\Builder, implements Basho\Riak\Command\BuilderInterface, use trait Basho\Riak\Command\Builder\LocationTrait
Exemplo n.º 1
0
 /**
  * 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();
 }