From 43937521d1d558500cae82ce88dc744ede854bfe Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 21 Aug 2023 15:46:26 +0200 Subject: [PATCH] wip #6201 @0:05 --- src/ExcelToArray.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ExcelToArray.php b/src/ExcelToArray.php index 2a9f7ba..e036a7d 100644 --- a/src/ExcelToArray.php +++ b/src/ExcelToArray.php @@ -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) { -- 2.39.5