getSegments() public method

public getSegments ( ) : Pinq\Queries\ISegment[]
return Pinq\Queries\ISegment[]
コード例 #1
0
ファイル: ScopeCompiler.php プロジェクト: timetoogo/pinq
 /**
  * @return mixed
  */
 public function compile()
 {
     foreach ($this->scope->getSegments() as $segment) {
         $segment->traverse($this);
     }
 }
コード例 #2
0
ファイル: ScopeProcessor.php プロジェクト: timetoogo/pinq
 public function buildScope()
 {
     return new Queries\Scope($this->processSourceInfo($this->scope->getSourceInfo()), $this->processSegments($this->scope->getSegments()));
 }