我要删除集合中的第一个项目:
unset($productData->images->first())
上述方法不起作用.
The reason I want this is so that later when I do a foreach, the first item doesn't come out:
@foreach($productData->images as $images)
<img class="product-thumb" src="/images/products/{{$images->src_thumb}}">
@endforeach
如何做到这一点?