SimpleHtmlSaxParser::createLexer PHP 메소드

createLexer() 공개 정적인 메소드

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