for make an api to return all images of the doctor
$images = Doctor::select('image')->get();
so the response is like the
`[
{ image: 111.png },
{ image: 222.png },
{ image: 333.png }
]`
then i return the images
return $images
I want to append the path to the image before return it like
mypath/222.png
i can do this with a for loop put i thank that made a more unnecessary complexity
so is their a way to make it in the eloquent