Laravel 8 studly {#collection-method}
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