@@ -30,7 +30,7 @@ |
||
30 | 30 | // $inputFileType = 'Gnumeric'; |
31 | 31 | $inputFileName = './sampleData/example1.xls'; |
32 | 32 | |
33 | -echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />'; |
|
33 | +echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />'; |
|
34 | 34 | $reader = IOFactory::createReader($inputFileType); |
35 | 35 | echo 'Loading all WorkSheets<br />'; |
36 | 36 | $reader->setLoadAllSheets(); |
@@ -24,7 +24,7 @@ |
||
24 | 24 | require_once __DIR__ . '/../../../src/Bootstrap.php'; |
25 | 25 | |
26 | 26 | $inputFileName = './sampleData/example_1.xls'; |
27 | -echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory to identify the format<br />'; |
|
27 | +echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory to identify the format<br />'; |
|
28 | 28 | try { |
29 | 29 | $spreadsheet = IOFactory::load($inputFileName); |
30 | 30 | } catch (\InvalidArgumentException $e) { |
@@ -60,9 +60,9 @@ |
||
60 | 60 | |
61 | 61 | $filterSubset = new MyReadFilter(9, 15, range('G', 'K')); |
62 | 62 | |
63 | -echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />'; |
|
63 | +echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />'; |
|
64 | 64 | $reader = IOFactory::createReader($inputFileType); |
65 | -echo 'Loading Sheet "',$sheetname,'" only<br />'; |
|
65 | +echo 'Loading Sheet "', $sheetname, '" only<br />'; |
|
66 | 66 | $reader->setLoadSheetsOnly($sheetname); |
67 | 67 | echo 'Loading Sheet using configurable filter<br />'; |
68 | 68 | $reader->setReadFilter($filterSubset); |