/home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src/Factories
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src/Factories/ReaderFactory.php (2011B)
setReadDataOnly(config('excel.imports.read_only', true));
}
if ($reader instanceof Csv) {
static::applyCsvSettings(config('excel.imports.csv', []));
if ($import instanceof WithCustomCsvSettings) {
static::applyCsvSettings($import->getCsvSettings());
}
$reader->setDelimiter(static::$delimiter);
$reader->setEnclosure(static::$enclosure);
$reader->setEscapeCharacter(static::$escapeCharacter);
$reader->setContiguous(static::$contiguous);
$reader->setInputEncoding(static::$inputEncoding);
}
return $reader;
}
/**
* @param TemporaryFile $temporaryFile
*
* @throws NoTypeDetectedException
* @return string
*/
private static function identify(TemporaryFile $temporaryFile): string
{
try {
return IOFactory::identify($temporaryFile->getLocalPath());
} catch (Exception $e) {
throw new NoTypeDetectedException(null, null, $e);
}
}
}