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