class a{
public $b;
public static function cc(){
echo 1;
function dd(){
echo 2;
}
}
}
$c=new a();
$c->cc()->dd();请问类的多层函数怎么写?