Skip to content

Commit

Permalink
移除 public static function className()
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Feb 1, 2018
1 parent 361e547 commit 89d28fe
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Base.php
Expand Up @@ -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
Expand Down

0 comments on commit 89d28fe

Please sign in to comment.