2018年7月6日

常用的四种设计模式 PHP代码

摘要: // 工厂模式 interface Iuser { public function getUserName(); } class UserFactory { static public function load($className) { return new strtolower($className); } static... 阅读全文

posted @ 2018-07-06 18:35 逍遥郭 阅读(190) 评论(0) 推荐(0) 编辑

导航