my problem is that variable $this->country can not be inserted as key in array. Any one knows why ?
$array[Config::get('app.locale')][$this->country]; throws Undefined index $array[Config::get('app.locale')]['de']; throws no errors
Config::get('app.locale') var_dump string(2) "de"
$this->country var_dump string(2) "de"
array:1 [▼
"de" => array:2 [▼
"de" => "Germany"
"us" => "USA"
]
]
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1YY0JhI
via IFTTT
Aucun commentaire:
Enregistrer un commentaire