SimpleHtmlSaxParser::createLexer PHP Méthode

createLexer() public static méthode

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