Skip to content

Commit

Permalink
Merge pull request #119 from nickolasburr/master
Browse files Browse the repository at this point in the history
added `remove` method;
  • Loading branch information
troydavisson committed Apr 1, 2017
2 parents 11b7746 + 5f3866e commit 55c15f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Models/Search/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ public function set($field, $value)
$this->values[(string)$field] = $value;
}

/**
* @param $field
*/
public function remove($field)
{
unset($this->values[(string)$field]);
}

/**
* @param $field
* @return bool
Expand Down

0 comments on commit 55c15f7

Please sign in to comment.