摘要:
name = $name; } public function run() { while($this->is_runing) { if(!empty($this->url)) //判断当前进程是否存在任务 { echo "线程:[{$this->name... 阅读全文
摘要:
factoryMethod($product); } } //所用的产品统一调用 class countryFactory extends Creator{ private $product; protected function factoryMethod(product $product) { $this->product = $product... 阅读全文