阅读(2363)
赞(7)
Laravel 8 title {#collection-method}
2021-07-05 09:43:54 更新
title
方法将字符串转换为 标题式
表示方法:
use IlluminateSupportStr;
$converted = Str::of('a nice title uses the correct case')->title();
// A Nice Title Uses The Correct Case