public function interpretOperation($segmentId, $operationType, ISourceInterpretation $sourceInterpretation) { /* @var $sourceInterpretation ISourceParser */ $this->segments[] = new Segments\Operation($operationType, $sourceInterpretation->getSource()); }