src/Riak/Command/Builder/ObjectTrait.php
public function buildObject($data = NULL, $headers = NULL)
    {
        $this->object = new RObject($data, $headers);

        return $this;
    }
public function buildObject($data = NULL, $headers = NULL)
    {
        $this->object = new RObject($data, $headers);

        return $this;
    }
Mint a new Object instance with supplied params and attach it to the Command

@param string $data
@param array $headers

@return $this