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