阅读(1803)
赞(5)
Laravel 8 Str::kebab() {#collection-method}
2021-07-03 16:54:18 更新
Str::kebab
方法将字符串转换为 烤串式( kebab-case )
表示方法:
use IlluminateSupportStr;
$converted = Str::kebab('fooBar');
// foo-bar
Str::kebab
方法将字符串转换为 烤串式( kebab-case )
表示方法:
use IlluminateSupportStr;
$converted = Str::kebab('fooBar');
// foo-bar
Copyright©2023 字节宝| |
违法和不良信息举报电话:|举报邮箱:2283035678@qq.com