내특을 int에서 string으로 변경

This commit is contained in:
2018-09-03 02:07:41 +09:00
parent dd5feb0e2c
commit e7ae2ab441
24 changed files with 133 additions and 126 deletions
+6
View File
@@ -451,4 +451,10 @@ class Util extends \utilphp\util
{
return $items[array_rand($items)];
}
function getClassName(string $classpath)
{
if ($pos = strrpos($classpath, '\\')) return substr($classpath, $pos + 1);
return $pos;
}
};