From: Vincent Vanwaelscappel Date: Mon, 21 Aug 2023 13:46:26 +0000 (+0200) Subject: wip #6201 @0:05 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=43937521d1d558500cae82ce88dc744ede854bfe;p=cubist_excel.git wip #6201 @0:05 --- 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) {