use 方法 {方法 as 属性 重命名} <?phptrait A{ private function show(){ echo '我是私密的方法'; }}class student { use A { show as public show2; }}$stu=new student;$stu->show2();?>