Suppose I have a query that, among other things, returns user id's, this query was built using `DB::table()...` rather than using the models, so, as a result, I got a collection with arrays for each retrieved row, something like this:

```
user_id | calculated_data
--------+----------------
      1 |     123
      2 |     111
      3 |     222
    ... |     ...

```

Supose I store this collection on a `$data` variable, of course if I do a `foreach ($data as $d) { $d->user_id ... }` will work.

But I want this query to return something more like what the ORM does, so instead `user_id`s, return User models so I can do, for example, a `$data->user->name`

Can this be even done? if so, how?