. */ namespace Doctrine\ORM\Query\AST; /** * ConditionalFactor ::= ["NOT"] ConditionalPrimary * * @link www.doctrine-project.org * @since 2.0 * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class ConditionalFactor extends Node { /** * @var bool */ public $not = false; /** * @var ConditionalPrimary */ public $conditionalPrimary; /** * @param ConditionalPrimary $conditionalPrimary */ public function __construct($conditionalPrimary) { $this->conditionalPrimary = $conditionalPrimary; } /** * {@inheritdoc} */ public function dispatch($sqlWalker) { return $sqlWalker->walkConditionalFactor($this); } }