I have a Laravel model with many attributes. So, I need iterate over these attributes. How can I do this? Something like this:
@foreach($model->attributes as $attribute)
// use $attribute
@endforeach
is it possible?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2D4YK64
via IFTTT
Aucun commentaire:
Enregistrer un commentaire