Commit 19e8320d authored by Douglas Greenshields's avatar Douglas Greenshields

- made clear method for read/write documents provide fluent interface like other mutators

parent 917fc7d8
...@@ -205,12 +205,14 @@ class Solarium_Document_ReadWrite extends Solarium_Document_ReadOnly ...@@ -205,12 +205,14 @@ class Solarium_Document_ReadWrite extends Solarium_Document_ReadOnly
/** /**
* Clear all fields * Clear all fields
* *
* @return void * @return Solarium_Document_ReadWrite Provides fluent interface
**/ **/
public function clear() public function clear()
{ {
$this->_fields = array(); $this->_fields = array();
$this->_fieldBoosts = array(); $this->_fieldBoosts = array();
return $this;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment