. */ namespace Doctrine\ORM\Query\AST; /** * UpdateStatement = UpdateClause [WhereClause] * * * @link www.doctrine-project.org * @since 2.0 * @version $Revision: 3938 $ * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class UpdateStatement extends Node { public $updateClause; public $whereClause; public function __construct($updateClause) { $this->updateClause = $updateClause; } public function dispatch($sqlWalker) { return $sqlWalker->walkUpdateStatement($this); } }