. */ namespace Doctrine\ORM\Query\AST; /** * IdentificationVariableDeclaration ::= RangeVariableDeclaration [IndexBy] {JoinVariableDeclaration}* * * * @link www.doctrine-project.org * @since 2.0 * @version $Revision: 3938 $ * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class IdentificationVariableDeclaration extends Node { public $rangeVariableDeclaration = null; public $indexBy = null; public $joins = array(); public function __construct($rangeVariableDecl, $indexBy, array $joins) { $this->rangeVariableDeclaration = $rangeVariableDecl; $this->indexBy = $indexBy; $this->joins = $joins; } public function dispatch($sqlWalker) { return $sqlWalker->walkIdentificationVariableDeclaration($this); } }