ok

Mini Shell

Direktori : /proc/self/root/home2/selectio/www/limpiar.in.net/app/Models/
Upload File :
Current File : //proc/self/root/home2/selectio/www/limpiar.in.net/app/Models/CustomersImport.php

<?php

namespace App\Models;

use App\Models\Customer;
use Maatwebsite\Excel\Concerns\ToModel;
use Maatwebsite\Excel\Concerns\WithHeadingRow;
use Illuminate\Support\Facades\Hash;

class CustomersImport implements ToModel, WithHeadingRow
{
    public function model(array $row)
    {
        return new Customer([
           'user_id'     => $row['user_id'],
        ]);
    }
}

Zerion Mini Shell 1.0