ArithmeticTerm.php 514 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * ArithmeticTerm ::= ArithmeticFactor {("*" | "/") ArithmeticFactor}*
 *
 * @author robo
 */
class Doctrine_ORM_Query_AST_ArithmeticTerm extends Doctrine_ORM_Query_AST
{
    private $_factors;

    public function __construct(array $arithmeticFactors)
    {
        $this->_factors = $arithmeticFactors;
    }

    public function getArithmeticFactors()
    {
        return $this->_factors;
    }
}