. */ namespace Doctrine\ORM\Query\AST; /** * Description of GroupByClause. * * @link www.doctrine-project.org * @since 2.0 * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class GroupByClause extends Node { /** * @var array */ public $groupByItems = array(); /** * @param array $groupByItems */ public function __construct(array $groupByItems) { $this->groupByItems = $groupByItems; } /** * {@inheritdoc} */ public function dispatch($sqlWalker) { return $sqlWalker->walkGroupByClause($this); } }