橘子味的心

Results 1 issues of 橘子味的心

改 app里kebab2camel方法中正则表达式 /-([a-z]+)/ 为 /[_-]([a-z]+)/ public static function kebab2camel($name, bool $big = true) { $name = preg_replace_callback('/-([a-z]+)/', function($m) { return ucfirst($m[1]); }, $name); return $big ? ucfirst($name) : $name; }