I want to get the path of an image using mutators or helper function for example this is My request :
"placeType": {
"id": 1,
"name": "Kenya Wyman",
"image_name": "1574668070.png",
"status": 1,
}
}
I want it to appear like this :
"placeType": {
"id": 1,
"name": "Kenya Wyman",
"image_name": "www.mydomain.com/photos/1574668070.png",
"status": 1,
}
}