Tencent / Biny

Biny is a tiny, high-performance PHP framework for web applications
BSD 3-Clause "New" or "Revised" License
1.69k stars 258 forks source link

Action类中的gets/posts/params/建议protected #92

Closed HammCn closed 4 years ago

HammCn commented 5 years ago

日常需求,需要获取所有的post数据,建议修改private为protected。

billge1205 commented 5 years ago

不建议这样修改,这样存在把post数据修改的风险 如果需要获取全部,可以写个 function getAllPost() 这类的方法实现