public function equals($value)
{
if ($this->currentField) {
$this->query[$this->currentField] = $value;
} else {
$this->query = $value;
}
return $this;
}
/** * Specify an equality match for the current field. * * @see Expr::equals() * @param mixed $value * @return self */ public function equals($value) { $this->expr->equals($value); return $this; }