摘要: data = $data; } //添加子节点 public function addChildren(TreeNode $treeNode) { $this->children[] = $treeNode; } } //树结构类 class Tree { //根节点 public $root = null; //... 阅读全文
posted @ 2018-09-11 11:05 苦逼成长印记 阅读(508) 评论(0) 推荐(0) 编辑