How can I store the results of an Eloquent query to a variable in tinker, without printing the results to the console?
For example, when I run $threads = App\Thread::all() I want to only store the results in the variable $threads without seeing all the threads. Is there something like 'quiet mode' in tinker?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire