mercredi 21 mars 2018

How to reterive injected data by @include as array?

I include one partial layout by this code: @include("someview", ["name"=>"the_name", "family" =>"the_family"])

inside of this partial view, I need to access this data as an array not variable because of sending data to a localization string as a parameter. for example I need access to "name" by $arr['name'] not $name.

is there any way to access injected data container it self?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2IHqphQ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire