src/thinkextend/Parser.php
public static function parse($content, $type)
    {
        if (!isset(self::$handler[$type])) {
            $class                = '\\thinkextend\\parser\\driver\\' . ucwords($type);
            self::$handler[$type] = new $class();
        }
        return self::$handler[$type]->parse($content);
    }
public static function parse($content, $type)
    {
        if (!isset(self::$handler[$type])) {
            $class                = '\\thinkextend\\parser\\driver\\' . ucwords($type);
            self::$handler[$type] = new $class();
        }
        return self::$handler[$type]->parse($content);
    }
解析内容