Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: extends ProjectionSegment
Exemplo n.º 1
0
 public function visitGroupBy(Segments\GroupBy $query)
 {
     $this->traversable = $this->traversable->groupBy($this->resolvedParameters[$query->getProjectionFunction()->getCallableId()]);
 }
Exemplo n.º 2
0
 public function visitGroupBy(Segments\GroupBy $query)
 {
     $this->compilation->append('Group according to: ');
     $this->compilation->appendFunction($query->getProjectionFunction());
     $this->compilation->appendLine();
 }