rename EntityFactory for writers and readers #526
This commit is contained in:
1 parent
e1acdc1fc5
commit
8a1c48b6b0
18 files changed
+97
-97
No files matched your search
@@ -4,7 +4,7 @@ namespace Box\Spout\Writer;
|
||||
|
||||
use Box\Spout\Common\Entity\Row;
|
||||
use Box\Spout\Common\Entity\Style\Style;
|
||||
use Box\Spout\Writer\Common\Creator\EntityFactory;
|
||||
use Box\Spout\Writer\Common\Creator\WriterEntityFactory;
|
||||
|
||||
/**
|
||||
* Trait RowCreationHelper
|
||||
@@ -27,7 +27,7 @@ trait RowCreationHelper
|
||||
*/
|
||||
protected function createStyledRowFromValues(array $cellValues, Style $rowStyle = null)
|
||||
{
|
||||
return EntityFactory::createRowFromArray($cellValues, $rowStyle);
|
||||
return WriterEntityFactory::createRowFromArray($cellValues, $rowStyle);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user