阅读(2386)
赞(2)
Laravel 8 camel {#collection-method}
2021-07-03 16:54:27 更新
camel 方法将指定字符串转换为 驼峰式 表示方法:
use Illuminate\Support\Str;
$converted = Str::of('foo_bar')->camel();
// fooBar camel 方法将指定字符串转换为 驼峰式 表示方法:
use Illuminate\Support\Str;
$converted = Str::of('foo_bar')->camel();
// fooBar Copyright©2023 字节宝字节宝| |
违法和不良信息举报电话:|举报邮箱:3111859717@qq.com
