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