public function visitIndexBy(Segments\IndexBy $query) { $this->traversable = $this->traversable->indexBy($this->resolvedParameters[$query->getProjectionFunction()->getCallableId()]); }
public function visitIndexBy(Segments\IndexBy $query) { $this->compilation->append('Index according to: '); $this->compilation->appendFunction($query->getProjectionFunction()); $this->compilation->appendLine(); }