阅读(2397)
赞(4)
Laravel 8 camel {#collection-method}
2021-07-03 16:54:27 更新
camel
方法将指定字符串转换为 驼峰式
表示方法:
use IlluminateSupportStr;
$converted = Str::of('foo_bar')->camel();
// fooBar
camel
方法将指定字符串转换为 驼峰式
表示方法:
use IlluminateSupportStr;
$converted = Str::of('foo_bar')->camel();
// fooBar
Copyright©2023 字节宝| |
违法和不良信息举报电话:|举报邮箱:2283035678@qq.com