阅读(2065)
赞(20)
Laravel 8 append {#collection-method}
2021-07-03 16:54:24 更新
append 方法为字符串附加上指定的值:
use Illuminate\Support\Str;
$string = Str::of('Taylor')->append(' Otwell');
// 'Taylor Otwell' append 方法为字符串附加上指定的值:
use Illuminate\Support\Str;
$string = Str::of('Taylor')->append(' Otwell');
// 'Taylor Otwell'