SimpleHtmlSaxParser::createLexer PHP Method

createLexer() public static method

Sets up the matching lexer. Starts in 'text' mode.
public static createLexer ( SimpleSaxParser &$parser ) : SimpleLexer
$parser SimpleSaxParser Event generator, usually $self.
return SimpleLexer Lexer suitable for this parser.
    public static function createLexer(&$parser)
    {
        return new SimpleHtmlLexer($parser);
    }