laravel中对象数据转换为数组的快捷方法

来源:互联网 发布:阿里飞天云平台 编辑:程序博客网 时间:2024/05/16 05:33
$d = array_map('get_object_vars', $data);

各种好用,亲测.

阅读全文
0 0
原创粉丝点击