Convert escapers to singletons (#239)

This commit is contained in:
Adrien Loison committed 2016-05-30 13:55:21 -07:00
1 parent efebfb2bc2
commit 1d3a9f939c
15 files changed
+64 -14

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ EOD;
$this->shouldUseInlineStrings = $shouldUseInlineStrings;
/** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */
$this->stringsEscaper = new \Box\Spout\Common\Escaper\XLSX();
$this->stringsEscaper = \Box\Spout\Common\Escaper\XLSX::getInstance();
$this->worksheetFilePath = $worksheetFilesFolder . '/' . strtolower($this->externalSheet->getName()) . '.xml';
$this->startSheet();