public function visitGroupBy(Segments\GroupBy $query) { $this->traversable = $this->traversable->groupBy($this->resolvedParameters[$query->getProjectionFunction()->getCallableId()]); }
public function visitGroupBy(Segments\GroupBy $query) { $this->compilation->append('Group according to: '); $this->compilation->appendFunction($query->getProjectionFunction()); $this->compilation->appendLine(); }