Implement ArrayAccess
Opened this issue · 2 comments
finalgamer commented
I have noticed that SomeModel::all()->pluck('id');
does not work because the data_get()
helper function in Illuminate\Support\Arr
always returns null. I have fixed this by extending the Model class and adding the ArrayAccess
interface and methods.
Would be nice it the ArrayAccess interface is included in the default Model class.
finalgamer commented
Thanks for the merge.
For anyone looking for this feature, download dev-master
for now.
composer require basemkhirat/elasticsearch:dev-master
devSarry commented
dev-master
doesn't pull this branches code