. */ namespace Doctrine\ORM\Query\AST; /** * JoinVariableDeclaration ::= Join [IndexBy] * * @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 JoinVariableDeclaration extends Node { public $join = null; public $indexBy = null; public function __construct($join, $indexBy) { $this->join = $join; $this->indexBy = $indexBy; } public function dispatch($sqlWalker) { return $sqlWalker->walkJoinVariableDeclaration($this); } }