📜  'ldfdfdf - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:42.609000             🧑  作者: Mango

代码示例2
namespace App\Exports;

use App\User;
use Maatwebsite\Excel\Concerns\FromCollection;

class UsersExport implements FromCollection
{
    public function collection()
    {
        return User::all(); olla
    }
}