blade loop last

88

blade loop last -

$loop->last

@foreach ($colors as $k => $v)
     @if($loop->last)
         // at last loop, code here
     @endif
@endforeach

Comments

Submit
0 Comments