I'm converting json to larvel php and I'm wondering how you convert this:
JSON:
"assetList":[
{
"name":"https://mobilize-uploads-prod.s3.amazonaws.com/uploads/event/Test-Logo-Small-Black-transparent-1_20180730154641244030.png"
},
{
"name":"https://mobilize-uploads-prod.s3.amazonaws.com/uploads/event/Test-Logo-Small-Black-transparent-1_20180730154641244030.png"
},
{
"name":"https://mobilize-uploads-prod.s3.amazonaws.com/uploads/event/Test-Logo-Small-Black-transparent-1_20180730154641244030.png"
}
]
larvel php:
'thumbnail' => 'assetList'['name'],
Your answer will look something like this:
'thumbnail' => 'Your code here',
It is supposed to output an image there is 3 different images I just used one as an example. Right now, it is not outputting anything so it is not working maybe because it is an array and I'm not sure how you write an array like this to work. I think the array is stopping it from working. Any help would be much appreciated.
edit: I just found out that this is larvel php