. */ namespace Doctrine\ORM\Query\AST; /** * SimpleArithmeticExpression ::= ArithmeticTerm {("+" | "-") ArithmeticTerm}* * * @link www.doctrine-project.org * @since 2.0 * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class SimpleArithmeticExpression extends Node { /** * @var array */ public $arithmeticTerms = array(); /** * @param array $arithmeticTerms */ public function __construct(array $arithmeticTerms) { $this->arithmeticTerms = $arithmeticTerms; } /** * {@inheritdoc} */ public function dispatch($sqlWalker) { return $sqlWalker->walkSimpleArithmeticExpression($this); } }