上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 目标:创建有依赖关系的实例;(套餐) <?php //抽象类 食物 interface IAllayFood { function Allay(); } interface IDrinkFood { function Drink(); } <?php //抽象类 获取食物 --》客户 interfa 阅读全文
posted @ 2019-11-30 19:40 千载白云 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 目标创建对象; 实现 1;实现工厂类 2;调用测试 <?php//调用工厂类require_once "./jiandangongcheng.php"; $po = array(); $po[] = pro::GetInstance(12,1); $po[] = pro::GetInstance(1 阅读全文
posted @ 2019-11-24 20:34 千载白云 阅读(133) 评论(0) 推荐(0) 编辑
摘要: $ composer config -g repo.packagist composer https://packagist.laravel-china.org 阿里云 Composer 全量镜像发布了,实时同步,秒级更新 https://mirrors.aliyun.com/composer/in 阅读全文
posted @ 2019-10-23 10:26 千载白云 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://www.cnblogs.com/yjlch1016/p/9692840.html https://blog.csdn.net/u011925641/article/details/79897517 步骤 下载git https://git-scm.com/download 阅读全文
posted @ 2019-09-05 21:16 千载白云 阅读(1675) 评论(0) 推荐(0) 编辑
摘要: /* * Effect 排序 * author YangYunHao * email 1126420614@qq.com * time 2018-11-26 11:59:38 * parameter arr:排序数组,key:按什么排,type:升序降序 * */ function arraySor 阅读全文
posted @ 2019-08-22 10:48 千载白云 阅读(388) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/d080d06557be 更改环境变量来修改默认的php版本 新建一个.bas_profile文件并编辑 vim ~/.bash_profile 然后在里面输入自己想要的php版本 export PATH=/Applications/MAMP/bi 阅读全文
posted @ 2019-08-04 16:52 千载白云 阅读(4479) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u011159417/article/details/80085011 安装: 1.获取redis资源 wget http://download.redis.io/releases/redis-4.0.8.tar.gz 2.解压 tar xzvf redi 阅读全文
posted @ 2019-05-17 10:27 千载白云 阅读(223) 评论(0) 推荐(0) 编辑
摘要: composer config -g repo.packagist composer https://packagist.laravel-china.org 阅读全文
posted @ 2019-05-13 19:53 千载白云 阅读(244) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/xp796/p/6441700.html 阅读全文
posted @ 2019-05-09 10:18 千载白云 阅读(565) 评论(0) 推荐(0) 编辑
摘要: https://learnku.com/articles/17377 阅读全文
posted @ 2019-05-08 11:44 千载白云 阅读(73) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页