Pinq\Queries\Builders\Interpretations\IScopeInterpretation::interpretOperation PHP Метод

interpretOperation() публичный Метод

public interpretOperation ( $segmentId, $operationType, Pinq\Queries\Builders\Interpretations\ISourceInterpretation $sourceInterpretation )
$sourceInterpretation Pinq\Queries\Builders\Interpretations\ISourceInterpretation
    public function interpretOperation($segmentId, $operationType, ISourceInterpretation $sourceInterpretation);

Usage Example

Пример #1
0
 protected final function visitOperation($operationType, O\MethodCallExpression $expression)
 {
     $this->addSegment(function ($segmentId) use($operationType, $expression) {
         $sourceInterpreter = $this->buildSourceInterpreter($segmentId);
         $sourceInterpreter->interpretSource($this->getArgumentAt(0, $expression));
         $this->interpretation->interpretOperation($this->getSegmentId($operationType), $operationType, $sourceInterpreter->getInterpretation());
     });
     $this->visit($expression->getValue());
 }