/home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src/MappedReader.php (1288B)
mapping() as $name => $coordinate) {
$cell = Cell::make($worksheet, $coordinate);
$mapped[$name] = $cell->getValue(
null,
$import instanceof WithCalculatedFormulas
);
}
if ($import instanceof ToModel) {
$model = $import->model($mapped);
if ($model) {
$model->saveOrFail();
}
}
if ($import instanceof ToCollection) {
$import->collection(new Collection($mapped));
}
if ($import instanceof ToArray) {
$import->array($mapped);
}
}
}