저자: Elliot Levin (elliotlevin@hotmail.com)
상속: extends ProjectionSegment
예제 #1
0
 public function visitGroupBy(Segments\GroupBy $query)
 {
     $this->traversable = $this->traversable->groupBy($this->resolvedParameters[$query->getProjectionFunction()->getCallableId()]);
 }
예제 #2
0
 public function visitGroupBy(Segments\GroupBy $query)
 {
     $this->compilation->append('Group according to: ');
     $this->compilation->appendFunction($query->getProjectionFunction());
     $this->compilation->appendLine();
 }