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 a Riak Kv Object
*
* @author Christopher Mancini <cmancini at basho d0t com>
*/
class Fetch extends Command\Object implements CommandInterface
{
public function __construct(Command\Builder\FetchObject $builder)
{
parent::__construct($builder);
$this->bucket = $builder->getBucket();
$this->location = $builder->getLocation();
$this->decodeAsAssociative = $builder->getDecodeAsAssociative();
}
}