Commit cd4329a9 authored by Bas de Nooijer's avatar Bas de Nooijer

Merge pull request #20 from shieldo/clear_fluent

Clear fluent
parents 917fc7d8 19e8320d
......@@ -205,12 +205,14 @@ class Solarium_Document_ReadWrite extends Solarium_Document_ReadOnly
/**
* Clear all fields
*
* @return void
* @return Solarium_Document_ReadWrite Provides fluent interface
**/
public function clear()
{
$this->_fields = 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