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?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire