xml-to-array icon indicating copy to clipboard operation
xml-to-array copied to clipboard

How can I use it for "Model::all()" ?

Open orukaz opened this issue 6 years ago • 1 comments

How can use it for "Model::all()" ?

For example: $user = Users::get()->first()->toArray();

orukaz avatar Jan 03 '19 23:01 orukaz

$users = Users::all();

Where Users is the model.

xgenem avatar Sep 25 '19 10:09 xgenem