. */ namespace Doctrine\ORM\Query\AST; /** * OrderByClause ::= "ORDER" "BY" OrderByItem {"," OrderByItem}* * * @link www.doctrine-project.org * @since 2.0 * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class OrderByClause extends Node { /** * @var array */ public $orderByItems = array(); /** * @param array $orderByItems */ public function __construct(array $orderByItems) { $this->orderByItems = $orderByItems; } /** * {@inheritdoc} */ public function dispatch($sqlWalker) { return $sqlWalker->walkOrderByClause($this); } }