getSegments() public method

public getSegments ( ) : Pinq\Queries\ISegment[]
return Pinq\Queries\ISegment[]
示例#1
0
 /**
  * @return mixed
  */
 public function compile()
 {
     foreach ($this->scope->getSegments() as $segment) {
         $segment->traverse($this);
     }
 }
示例#2
0
 public function buildScope()
 {
     return new Queries\Scope($this->processSourceInfo($this->scope->getSourceInfo()), $this->processSegments($this->scope->getSegments()));
 }