public function addAnalyser(NodeVisitor $analyser)
    {
        $analyser->setSubject($this);
        $this->analysers[] = $analyser;
        return $this;
    }
public function addAnalyser(NodeVisitor $analyser)
    {
        $analyser->setSubject($this);
        $this->analysers[] = $analyser;
        return $this;
    }
public function addAnalyser ( NodeVisitor $ analyser ) { $ analyser -> setSubject ( $ this ) ; $ this -> analysers [ ] = $ analyser ; return $ this ; }
Adds a new analyser to get specific metrics

@param NodeVisitor $analyser Analyser instance

@return self for fluent interface
Adds a new analyser to get specific metrics