]> _ Git - cubist_excel.git/commitdiff
wip #6201 @0:05
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 21 Aug 2023 13:46:26 +0000 (15:46 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 21 Aug 2023 13:46:26 +0000 (15:46 +0200)
src/ExcelToArray.php

index 2a9f7ba0a98cdda9dc93475048a2cceab3d7ec8d..e036a7d0cd3876b19da006bb293ed12073972c26 100644 (file)
@@ -99,11 +99,19 @@ class ExcelToArray
         return self::_excelToArray($file, false, $force);
     }
 
+    protected static function _file($file)
+    {
+        $e = explode('#', $file);
+        return $e[0];
+    }
+
     /**
      * @throws Exception
      */
     protected static function _excelToArray($file, $assoc = false, $force = false)
     {
+        $file = self::_file($file);
+
         $worksheets = array();
         $cache = self::getCache();
         if (null !== $cache) {