php非静态方法静态调用

tp5里面的Model,调用with方法时,这个方法本身不是静态的,用->的话,拿不到东西,用::的话,ide会报错。

posted @ 2018-03-22 00:53  R4mble  阅读(189)  评论(0编辑  收藏  举报