How can I merge two query result?
Example: $res1 = User::find(''); $res2 = User::find(''); $res = merge($res1, $res2);
I don't want to use toArray() method to make the object to be array.
How can I merge two query result?
Example: $res1 = User::find(''); $res2 = User::find(''); $res = merge($res1, $res2);
I don't want to use toArray() method to make the object to be array.