I have the following code:
$Reader = new \\PhpOffice\\PhpSpreadsheet\\Reader\\Xlsx(); $Reader->setReadDataOnly( true ); try { $spreadSheet = $Reader->