Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: extends ProjectionSegment
コード例 #1
0
ファイル: ScopeEvaluator.php プロジェクト: timetoogo/pinq
 public function visitSelectMany(Segments\SelectMany $query)
 {
     $this->traversable = $this->traversable->selectMany($this->resolvedParameters[$query->getProjectionFunction()->getCallableId()]);
 }
コード例 #2
0
ファイル: ScopeCompiler.php プロジェクト: timetoogo/pinq
 public function visitSelectMany(Segments\SelectMany $query)
 {
     $this->compilation->append('Map and flatten according to: ');
     $this->compilation->appendFunction($query->getProjectionFunction());
     $this->compilation->appendLine();
 }