1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?php
namespace Basho\Riak\Command\Object;
use Basho\Riak\Command;
use Basho\Riak\CommandInterface;
/**
* Fetches the Preflist for a Riak Kv Object
*
* @author Christopher Mancini <cmancini at basho d0t com>
*/
class FetchPreflist extends Command\Object implements CommandInterface
{
public function __construct(Command\Builder\FetchPreflist $builder)
{
parent::__construct($builder);
$this->bucket = $builder->getBucket();
$this->location = $builder->getLocation();
}
}