. */ namespace Doctrine\ORM\Query\AST; /** * SelectStatement = SelectClause FromClause [WhereClause] [GroupByClause] [HavingClause] [OrderByClause] * * * @link www.doctrine-project.org * @since 2.0 * @version $Revision: 3938 $ * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class SelectStatement extends Node { public $selectClause; public $fromClause; public $whereClause; public $groupByClause; public $havingClause; public $orderByClause; public function __construct($selectClause, $fromClause) { $this->selectClause = $selectClause; $this->fromClause = $fromClause; } public function dispatch($sqlWalker) { return $sqlWalker->walkSelectStatement($this); } }