Closed RomaGilyov closed 4 years ago
Can't reproduce in Laravel 5.6. Properties are all returned properly, with key and value.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi)
When I do something like that
$horse = App\Horse::all(['name'])
I'm getting
Illuminate\Database\Eloquent\Collection {#850 all: [ App\Horse {#851 : "Roma", }, ], }
collection without name property