. */ namespace Doctrine\ORM\Query\AST; /** * IdentificationVariableDeclaration ::= RangeVariableDeclaration [IndexBy] {JoinVariableDeclaration}* * * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @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 $joinVariableDeclarations = array(); public function __construct($rangeVariableDecl, $indexBy, array $joinVariableDecls) { $this->rangeVariableDeclaration = $rangeVariableDecl; $this->indexBy = $indexBy; $this->joinVariableDeclarations = $joinVariableDecls; } public function dispatch($sqlWalker) { return $sqlWalker->walkIdentificationVariableDeclaration($this); } }