摘要: "; $context->state = new Concrete_state_B(); }}class Concrete_state_B extends State { public function handle(Context $context) { e... 阅读全文
posted @ 2015-09-01 19:23 wy0314 阅读(169) 评论(0) 推荐(0)
摘要: _name = $name; } public function __get($name) { if ($name == '_name') { return $this->_name; } } public function ... 阅读全文
posted @ 2015-09-01 14:46 wy0314 阅读(139) 评论(0) 推荐(0)