Автор: Elliot Levin (elliotlevin@hotmail.com)
Наследование: extends ProjectionSegment
Пример #1
0
 public function visitIndexBy(Segments\IndexBy $query)
 {
     $this->traversable = $this->traversable->indexBy($this->resolvedParameters[$query->getProjectionFunction()->getCallableId()]);
 }
Пример #2
0
 public function visitIndexBy(Segments\IndexBy $query)
 {
     $this->compilation->append('Index according to: ');
     $this->compilation->appendFunction($query->getProjectionFunction());
     $this->compilation->appendLine();
 }