Split Writer EntityFactory into interal and external ones

This commit is contained in:
Adrien Loison committed 2017-11-05 13:04:03 +01:00
1 parent ca5962271e
commit 2d2151ac8d
10 files changed
+83 -72

No files matched your search

@@ -3,7 +3,7 @@
namespace Box\Spout\Writer\XLSX\Creator;
use Box\Spout\Common\Manager\OptionsManagerInterface;
use Box\Spout\Writer\Common\Creator\EntityFactory;
use Box\Spout\Writer\Common\Creator\InternalEntityFactory;
use Box\Spout\Writer\Common\Creator\ManagerFactoryInterface;
use Box\Spout\Writer\Common\Entity\Options;
use Box\Spout\Writer\Common\Manager\SheetManager;
@@ -19,17 +19,17 @@ use Box\Spout\Writer\XLSX\Manager\WorksheetManager;
*/
class ManagerFactory implements ManagerFactoryInterface
{
/** @var EntityFactory */
/** @var InternalEntityFactory */
protected $entityFactory;
/** @var HelperFactory $helperFactory */
protected $helperFactory;
/**
* @param EntityFactory $entityFactory
* @param InternalEntityFactory $entityFactory
* @param HelperFactory $helperFactory
*/
public function __construct(EntityFactory $entityFactory, HelperFactory $helperFactory)
public function __construct(InternalEntityFactory $entityFactory, HelperFactory $helperFactory)
{
$this->entityFactory = $entityFactory;
$this->helperFactory = $helperFactory;