From 89d28feea951ae63bdc21c6f4d1b02d05a7dd1e6 Mon Sep 17 00:00:00 2001 From: twinh Date: Mon, 22 Jan 2018 21:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20public=20static=20function?= =?UTF-8?q?=20className()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Base.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Base.php b/src/Base.php index 252184a..ed8ec50 100644 --- a/src/Base.php +++ b/src/Base.php @@ -61,18 +61,6 @@ public function send() */ abstract protected function prepare(); - /** - * Returns current class name - * - * 兼容5.5之前版本获取类名的方法 - * - * @return string - */ - public static function className() - { - return get_called_class(); - } - /** * 生成随机字符数字串 * @param int $length