get_called_class与get_class

get_class (): 获取当前调用方法的类名; 
get_called_class():获取静态绑定后的类名;

猜你喜欢

转载自www.cnblogs.com/liuqd001/p/9177727.html
get
今日推荐