Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: extends ProjectionSegment
Example #1
0
 public function visitIndexBy(Segments\IndexBy $query)
 {
     $this->traversable = $this->traversable->indexBy($this->resolvedParameters[$query->getProjectionFunction()->getCallableId()]);
 }
Example #2
0
 public function visitIndexBy(Segments\IndexBy $query)
 {
     $this->compilation->append('Index according to: ');
     $this->compilation->appendFunction($query->getProjectionFunction());
     $this->compilation->appendLine();
 }