阅读(4611)
赞(7)
Laravel 8 studly {#collection-method}
2021-07-05 09:43:54 更新
studly
方法用于将指定字符串转换为 StudlyCase
形式:
use Illuminate\Support\Str;
$converted = Str::of('foo_bar')->studly();
// FooBar
studly
方法用于将指定字符串转换为 StudlyCase
形式:
use Illuminate\Support\Str;
$converted = Str::of('foo_bar')->studly();
// FooBar
Copyright©2023 编程论坛编程论坛| 浙ICP备2024059924号-1|
违法和不良信息举报电话:|举报邮箱:569242693@qq.com