阅读(4613)
赞(6)
Laravel 8 studly {#collection-method}
2021-07-05 09:43:54 更新
studly
方法用于将指定字符串转换为 StudlyCase
形式:
use IlluminateSupportStr;
$converted = Str::of('foo_bar')->studly();
// FooBar
studly
方法用于将指定字符串转换为 StudlyCase
形式:
use IlluminateSupportStr;
$converted = Str::of('foo_bar')->studly();
// FooBar
Copyright©2023 字节宝| |
违法和不良信息举报电话:|举报邮箱:2283035678@qq.com