摘要: /** * 父类P中 获取子类C的类名 */class P{ public static function getParent() { return self::class; } public static function getChild() { return static::class; } 阅读全文
posted @ 2020-03-12 10:30 PHPer100 阅读(882) 评论(0) 推荐(0) 编辑