name = $name;
}
public function getName() {
return $this->name;
}
}
$person = new Person();
$person->setName('张三');
echo $person->getName();
?>
顶一下
(0)
0%
踩一下
(0)
0%
- 相关评论
- 我要评论
-