Skip to content

建议类的成员/方法可见性改为protected #2

@zhaokeli

Description

@zhaokeli

能否把模板中的private方法改成protected
我项目中用到啦这个模板引擎但是我的模板路径是一个数组,我想到啦继承方法parseTemplateFile 修改查找模板的规则,但这个方法是private的
我看到源码要好多方法都是private的,能否把方法改成protected这样可以继承实现自己的逻辑,省得自己复制一份改源码
我是从thinkphp3.1就用框架啦,模板的使用方法已经很熟悉啦,很喜欢这个模板引擎

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions