When I retrieve a model or models in tinker it outputs the results to screen.
How is that output generated? The model __toString method calls the toJson method but the tinker output is different from that and different from the toArray() output.
Specifically, I have added an attribute to my appends list. I see that attribute in the output from toArray and toJson but not when tinker outputs the model.
Thanks Nakov. That makes sense but my interest was more about what method is being called by tinker to get the output it shows? which doesn't include the attributes in the appends list. Looking through the code, I can't work it out.