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