2018年10月9日
摘要: name = $name; } public function run() { while($this->is_runing) { if(!empty($this->url)) //判断当前进程是否存在任务 { echo "线程:[{$this->name... 阅读全文
posted @ 2018-10-09 19:25 nike_9527 阅读(345) 评论(0) 推荐(0) 编辑
摘要: factoryMethod($product); } } //所用的产品统一调用 class countryFactory extends Creator{ private $product; protected function factoryMethod(product $product) { $this->product = $product... 阅读全文
posted @ 2018-10-09 00:53 nike_9527 阅读(130) 评论(0) 推荐(0) 编辑