. */ namespace Doctrine\ORM\Query\AST; /** * IndexBy ::= "INDEX" "BY" SimpleStateFieldPathExpression * * @author Guilherme Blanco * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link http://www.doctrine-project.org * @since 2.0 * @version $Revision$ */ class IndexBy extends Node { protected $_simpleStateFieldPathExpression = null; public function __construct($simpleStateFieldPathExpression) { $this->_simpleStateFieldPathExpression = $simpleStateFieldPathExpression; } /* Getters */ public function getSimpleStateFieldPathExpression() { return $this->_simpleStateFieldPathExpression; } public function dispatch($sqlWalker) { return $sqlWalker->walkIndexBy($this); } }