'How to get Laravel Collection items nested inside a collection
I am trying to get all the items in the nested collection of times to export to an excel file. 0 is the user info while 1-3 is Monday, Tuesday, Wednesday. the items inside the days are time blocks the user added.
This is my map function to get the information and right now $avails1, 2 and 3 all print the times.
The information displays like this which is fine but I would like to be able to remove the brackets and quotes
Am I going about this the wrong way?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|



