1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<?php
namespace Basho\Riak\Command\Object;
use Basho\Riak\Command;
use Basho\Riak\CommandInterface;
/**
* Used to remove an object from Riak
*
* @author Christopher Mancini <cmancini at basho d0t com>
*/
class Delete extends Command\Object implements CommandInterface
{
protected $method = 'DELETE';
public function __construct(Command\Builder\DeleteObject $builder)
{
parent::__construct($builder);
$this->bucket = $builder->getBucket();
$this->location = $builder->getLocation();
}
}