public function getAndResetWheres() { $values = $this->wheres; $this->wheres = array(); return $values; }