/** * @return null */ public function testIsEnableDisableParentheses() { $expected = "(leftop = rightop)"; $this->expr->enableParentheses(); $this->assertEquals($expected, $this->expr->build()); $expected = "leftop = rightop"; $this->expr->disableParentheses(); $this->assertEquals($expected, $this->expr->build()); }
/** * Merely improves readablity. The value of a domain expression is always * the operand on the right side. * * @return mixed */ public function getValue() { return parent::getRightOperand(); }