I'm working with Laravel 5.6. And fetching data from database using Eloquent model. On that returned result set I found "relations" field as empty. But I need to alter this "relations" filed with some custom data. How should I do that?
My returned result:
In the picture, highlighted filed need to alter with some custom data.

Yes, I solved the above problem myself. Solution like below: