protected function getParser()
    {
        if ($this->parser) {
            return $this->parser;
        }
        foreach (SimpleTest::getParsers() as $parser) {
            if ($parser->can()) {
                return $parser;
            }
        }
    }
protected function getParser()
    {
        if ($this->parser) {
            return $this->parser;
        }
        foreach (SimpleTest::getParsers() as $parser) {
            if ($parser->can()) {
                return $parser;
            }
        }
    }
protected function getParser ( ) { if ( $ this -> parser ) { return $ this -> parser ; } foreach ( SimpleTest :: getParsers ( ) as $ parser ) { if ( $ parser -> can ( ) ) { return $ parser ; } } }
Get the HTML parser to use. Can be overridden by setParser.
Otherwise scans through the available parsers and uses the first one which is available.

@return object SimplePHPPageBuilder or SimpleTidyPageBuilder
Get the HTML parser to use . Can be overridden by setParser . Otherwise scans through the available parsers and uses the first one which is available .