ok
Direktori : /proc/thread-self/root/home2/selectio/public_html/limpiar.in.net/app/Models/ |
Current File : //proc/thread-self/root/home2/selectio/public_html/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'], ]); } }