]> _ Git - cubist_excel.git/commitdiff
wait #5795 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 15 Mar 2023 16:56:34 +0000 (17:56 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 15 Mar 2023 16:56:34 +0000 (17:56 +0100)
src/ExcelToArray.php

index 42ad31d8897887997df497c2bbc27181eb39e281..2a9f7ba0a98cdda9dc93475048a2cceab3d7ec8d 100644 (file)
@@ -164,6 +164,11 @@ class ExcelToArray
         return $worksheets;
     }
 
+    public static function excelToAssoc($file, $force = false)
+    {
+        return self::_excelToArray($file, true, $force);
+    }
+
     /**
      * @param $worksheet \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
      * @return array