src/Analyzers/Analyzer.php
protected function read($analyzer, $arg = null)
    {
        $result = $this->rec->getAnalysis($analyzer, $arg, $this->position);
        $this->position = $result->position;
        return $result->analysis;
    }
protected function read($analyzer, $arg = null)
    {
        $result = $this->rec->getAnalysis($analyzer, $arg, $this->position);
        $this->position = $result->position;
        return $result->analysis;
    }
protected function read ( $ analyzer , $ arg = null ) { $ result = $ this -> rec -> getAnalysis ( $ analyzer , $ arg , $ this -> position ) ; $ this -> position = $ result -> position ; return $ result -> analysis ; }
Compose another analyzer. Starts reading at the current position, and
uses the composed analyzer's final position as the new position.

@param string  $analyzer  Analyzer class name.
@param mixed  $arg  Optional argument to the analyzer.
@return mixed Result of the analyzer.
Compose another analyzer . Starts reading at the current position and uses the composed analyzer s final position as the new position .