public function setExpression($expr) { $this->expression = $expr; $this->hasExpression = true; return $this; }