至尊技术网 - PHP面向对象的链式调用方式 的评论 https://www.zzwws.cn/archives/6350/ 实现起来也还蛮简单的,只需要在每个方法最后返回$this就可以了<?phpclass wc{ public function __construct($who) { ...