Move entities and managers back to Common (#431)
This commit is contained in:
parent
878c4a9c8b
commit
c4e25a168e
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Box\Spout\Writer\CSV\Manager;
|
namespace Box\Spout\Writer\CSV\Manager;
|
||||||
|
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerAbstract;
|
use Box\Spout\Writer\Common\Manager\OptionsManagerAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class OptionsManager
|
* Class OptionsManager
|
||||||
|
@ -5,7 +5,7 @@ namespace Box\Spout\Writer\CSV;
|
|||||||
use Box\Spout\Writer\WriterAbstract;
|
use Box\Spout\Writer\WriterAbstract;
|
||||||
use Box\Spout\Common\Exception\IOException;
|
use Box\Spout\Common\Exception\IOException;
|
||||||
use Box\Spout\Common\Helper\EncodingHelper;
|
use Box\Spout\Common\Helper\EncodingHelper;
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Writer
|
* Class Writer
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Creator;
|
namespace Box\Spout\Writer\Common\Creator;
|
||||||
|
|
||||||
use Box\Spout\Writer\Common\Sheet;
|
use Box\Spout\Writer\Common\Sheet;
|
||||||
use Box\Spout\Writer\Entity\Workbook;
|
use Box\Spout\Writer\Common\Entity\Workbook;
|
||||||
use Box\Spout\Writer\Entity\Worksheet;
|
use Box\Spout\Writer\Common\Entity\Worksheet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class EntityFactory
|
* Class EntityFactory
|
||||||
* Factory to create entities
|
* Factory to create entities
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Creator
|
* @package Box\Spout\Writer\Common\Creator
|
||||||
*/
|
*/
|
||||||
class EntityFactory
|
class EntityFactory
|
||||||
{
|
{
|
@ -1,14 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Creator;
|
namespace Box\Spout\Writer\Common\Creator;
|
||||||
|
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerInterface;
|
use Box\Spout\Writer\Common\Manager\OptionsManagerInterface;
|
||||||
use Box\Spout\Writer\Manager\WorkbookManagerInterface;
|
use Box\Spout\Writer\Common\Manager\WorkbookManagerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface GeneralFactoryInterface
|
* Interface GeneralFactoryInterface
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Creator
|
* @package Box\Spout\Writer\Common\Creator
|
||||||
*/
|
*/
|
||||||
interface InternalFactoryInterface
|
interface InternalFactoryInterface
|
||||||
{
|
{
|
@ -1,13 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Entity;
|
namespace Box\Spout\Writer\Common\Entity;
|
||||||
|
|
||||||
use Box\Spout\Writer\Common\Helper\CellHelper;
|
use Box\Spout\Writer\Common\Helper\CellHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Cell
|
* Class Cell
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Entity
|
* @package Box\Spout\Writer\Common\Entity
|
||||||
*/
|
*/
|
||||||
class Cell
|
class Cell
|
||||||
{
|
{
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Entity;
|
namespace Box\Spout\Writer\Common\Entity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Options
|
* Class Options
|
||||||
* Writer' options holder
|
* Writer' options holder
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Entity
|
* @package Box\Spout\Writer\Common\Entity
|
||||||
*/
|
*/
|
||||||
abstract class Options
|
abstract class Options
|
||||||
{
|
{
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Entity;
|
namespace Box\Spout\Writer\Common\Entity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Workbook
|
* Class Workbook
|
||||||
* Entity describing a workbook
|
* Entity describing a workbook
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Entity
|
* @package Box\Spout\Writer\Common\Entity
|
||||||
*/
|
*/
|
||||||
class Workbook
|
class Workbook
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Entity;
|
namespace Box\Spout\Writer\Common\Entity;
|
||||||
|
|
||||||
use Box\Spout\Writer\Common\Sheet;
|
use Box\Spout\Writer\Common\Sheet;
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ use Box\Spout\Writer\Common\Sheet;
|
|||||||
* Class Worksheet
|
* Class Worksheet
|
||||||
* Entity describing a Worksheet
|
* Entity describing a Worksheet
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Entity
|
* @package Box\Spout\Writer\Common\Entity
|
||||||
*/
|
*/
|
||||||
class Worksheet
|
class Worksheet
|
||||||
{
|
{
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Manager;
|
namespace Box\Spout\Writer\Common\Manager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class OptionsManager
|
* Class OptionsManager
|
||||||
* Writer' options manager
|
* Writer' options manager
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Manager
|
* @package Box\Spout\Writer\Common\Manager
|
||||||
*/
|
*/
|
||||||
abstract class OptionsManagerAbstract implements OptionsManagerInterface
|
abstract class OptionsManagerAbstract implements OptionsManagerInterface
|
||||||
{
|
{
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Manager;
|
namespace Box\Spout\Writer\Common\Manager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface OptionsManagerInterface
|
* Interface OptionsManagerInterface
|
||||||
* Writer' options interface
|
* Writer' options interface
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Manager
|
* @package Box\Spout\Writer\Common\Manager
|
||||||
*/
|
*/
|
||||||
interface OptionsManagerInterface
|
interface OptionsManagerInterface
|
||||||
{
|
{
|
@ -1,25 +1,24 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Manager;
|
namespace Box\Spout\Writer\Common\Manager;
|
||||||
|
|
||||||
use Box\Spout\Common\Exception\IOException;
|
use Box\Spout\Common\Exception\IOException;
|
||||||
use Box\Spout\Writer\Common\Helper\FileSystemWithRootFolderHelperInterface;
|
use Box\Spout\Writer\Common\Helper\FileSystemWithRootFolderHelperInterface;
|
||||||
use Box\Spout\Writer\Common\Helper\StyleHelperInterface;
|
use Box\Spout\Writer\Common\Helper\StyleHelperInterface;
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerInterface;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\Entity\Options;
|
|
||||||
use Box\Spout\Writer\Common\Sheet;
|
use Box\Spout\Writer\Common\Sheet;
|
||||||
use Box\Spout\Writer\Entity\Workbook;
|
use Box\Spout\Writer\Common\Entity\Workbook;
|
||||||
use Box\Spout\Writer\Entity\Worksheet;
|
use Box\Spout\Writer\Common\Entity\Worksheet;
|
||||||
use Box\Spout\Writer\Exception\SheetNotFoundException;
|
use Box\Spout\Writer\Exception\SheetNotFoundException;
|
||||||
use Box\Spout\Writer\Exception\WriterException;
|
use Box\Spout\Writer\Exception\WriterException;
|
||||||
use Box\Spout\Writer\Creator\EntityFactory;
|
use Box\Spout\Writer\Common\Creator\EntityFactory;
|
||||||
use Box\Spout\Writer\Style\Style;
|
use Box\Spout\Writer\Style\Style;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class WorkbookManagerAbstract
|
* Class WorkbookManagerAbstract
|
||||||
* Abstract workbook manager, providing the generic interfaces to work with workbook.
|
* Abstract workbook manager, providing the generic interfaces to work with workbook.
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Manager
|
* @package Box\Spout\Writer\Common\Manager
|
||||||
*/
|
*/
|
||||||
abstract class WorkbookManagerAbstract implements WorkbookManagerInterface
|
abstract class WorkbookManagerAbstract implements WorkbookManagerInterface
|
||||||
{
|
{
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Manager;
|
namespace Box\Spout\Writer\Common\Manager;
|
||||||
|
|
||||||
use Box\Spout\Common\Exception\IOException;
|
use Box\Spout\Common\Exception\IOException;
|
||||||
use Box\Spout\Writer\Common\Sheet;
|
use Box\Spout\Writer\Common\Sheet;
|
||||||
use Box\Spout\Writer\Entity\Workbook;
|
use Box\Spout\Writer\Common\Entity\Workbook;
|
||||||
use Box\Spout\Writer\Entity\Worksheet;
|
use Box\Spout\Writer\Common\Entity\Worksheet;
|
||||||
use Box\Spout\Writer\Exception\SheetNotFoundException;
|
use Box\Spout\Writer\Exception\SheetNotFoundException;
|
||||||
use Box\Spout\Writer\Exception\WriterException;
|
use Box\Spout\Writer\Exception\WriterException;
|
||||||
use Box\Spout\Writer\Style\Style;
|
use Box\Spout\Writer\Style\Style;
|
||||||
@ -14,7 +14,7 @@ use Box\Spout\Writer\Style\Style;
|
|||||||
* Interface WorkbookManagerInterface
|
* Interface WorkbookManagerInterface
|
||||||
* workbook manager interface, providing the generic interfaces to work with workbook.
|
* workbook manager interface, providing the generic interfaces to work with workbook.
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Manager
|
* @package Box\Spout\Writer\Common\Manager
|
||||||
*/
|
*/
|
||||||
interface WorkbookManagerInterface
|
interface WorkbookManagerInterface
|
||||||
{
|
{
|
@ -1,15 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Manager;
|
namespace Box\Spout\Writer\Common\Manager;
|
||||||
|
|
||||||
use Box\Spout\Writer\Entity\Worksheet;
|
use Box\Spout\Writer\Common\Entity\Worksheet;
|
||||||
use Box\Spout\Writer\Style\Style;
|
use Box\Spout\Writer\Style\Style;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface WorksheetManagerInterface
|
* Interface WorksheetManagerInterface
|
||||||
* Inteface for worksheet managers, providing the generic interfaces to work with worksheets.
|
* Inteface for worksheet managers, providing the generic interfaces to work with worksheets.
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Manager
|
* @package Box\Spout\Writer\Common\Manager
|
||||||
*/
|
*/
|
||||||
interface WorksheetManagerInterface
|
interface WorksheetManagerInterface
|
||||||
{
|
{
|
@ -3,10 +3,10 @@
|
|||||||
namespace Box\Spout\Writer\ODS\Creator;
|
namespace Box\Spout\Writer\ODS\Creator;
|
||||||
|
|
||||||
use Box\Spout\Common\Helper\StringHelper;
|
use Box\Spout\Common\Helper\StringHelper;
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerInterface;
|
use Box\Spout\Writer\Common\Manager\OptionsManagerInterface;
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\Creator\EntityFactory;
|
use Box\Spout\Writer\Common\Creator\EntityFactory;
|
||||||
use Box\Spout\Writer\Creator\InternalFactoryInterface;
|
use Box\Spout\Writer\Common\Creator\InternalFactoryInterface;
|
||||||
use Box\Spout\Writer\ODS\Helper\FileSystemHelper;
|
use Box\Spout\Writer\ODS\Helper\FileSystemHelper;
|
||||||
use Box\Spout\Writer\ODS\Helper\StyleHelper;
|
use Box\Spout\Writer\ODS\Helper\StyleHelper;
|
||||||
use Box\Spout\Writer\ODS\Manager\WorkbookManager;
|
use Box\Spout\Writer\ODS\Manager\WorkbookManager;
|
||||||
|
@ -4,7 +4,7 @@ namespace Box\Spout\Writer\ODS\Helper;
|
|||||||
|
|
||||||
use Box\Spout\Writer\Common\Helper\FileSystemWithRootFolderHelperInterface;
|
use Box\Spout\Writer\Common\Helper\FileSystemWithRootFolderHelperInterface;
|
||||||
use Box\Spout\Writer\Common\Helper\ZipHelper;
|
use Box\Spout\Writer\Common\Helper\ZipHelper;
|
||||||
use Box\Spout\Writer\Entity\Worksheet;
|
use Box\Spout\Writer\Common\Entity\Worksheet;
|
||||||
use Box\Spout\Writer\ODS\Manager\WorksheetManager;
|
use Box\Spout\Writer\ODS\Manager\WorksheetManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Box\Spout\Writer\ODS\Manager;
|
namespace Box\Spout\Writer\ODS\Manager;
|
||||||
|
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerAbstract;
|
use Box\Spout\Writer\Common\Manager\OptionsManagerAbstract;
|
||||||
use Box\Spout\Writer\Style\StyleBuilder;
|
use Box\Spout\Writer\Style\StyleBuilder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
namespace Box\Spout\Writer\ODS\Manager;
|
namespace Box\Spout\Writer\ODS\Manager;
|
||||||
|
|
||||||
use Box\Spout\Writer\Common\Sheet;
|
use Box\Spout\Writer\Common\Sheet;
|
||||||
use Box\Spout\Writer\Manager\WorkbookManagerAbstract;
|
use Box\Spout\Writer\Common\Manager\WorkbookManagerAbstract;
|
||||||
use Box\Spout\Writer\ODS\Helper\FileSystemHelper;
|
use Box\Spout\Writer\ODS\Helper\FileSystemHelper;
|
||||||
use Box\Spout\Writer\ODS\Helper\StyleHelper;
|
use Box\Spout\Writer\ODS\Helper\StyleHelper;
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@ namespace Box\Spout\Writer\ODS\Manager;
|
|||||||
use Box\Spout\Common\Exception\InvalidArgumentException;
|
use Box\Spout\Common\Exception\InvalidArgumentException;
|
||||||
use Box\Spout\Common\Exception\IOException;
|
use Box\Spout\Common\Exception\IOException;
|
||||||
use Box\Spout\Common\Helper\StringHelper;
|
use Box\Spout\Common\Helper\StringHelper;
|
||||||
use Box\Spout\Writer\Entity\Cell;
|
use Box\Spout\Writer\Common\Entity\Cell;
|
||||||
use Box\Spout\Writer\Entity\Worksheet;
|
use Box\Spout\Writer\Common\Entity\Worksheet;
|
||||||
use Box\Spout\Writer\Manager\WorksheetManagerInterface;
|
use Box\Spout\Writer\Common\Manager\WorksheetManagerInterface;
|
||||||
use Box\Spout\Writer\ODS\Helper\StyleHelper;
|
use Box\Spout\Writer\ODS\Helper\StyleHelper;
|
||||||
use Box\Spout\Writer\Style\Style;
|
use Box\Spout\Writer\Style\Style;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Box\Spout\Writer\ODS;
|
namespace Box\Spout\Writer\ODS;
|
||||||
|
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\WriterMultiSheetsAbstract;
|
use Box\Spout\Writer\WriterMultiSheetsAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -6,8 +6,8 @@ use Box\Spout\Common\Exception\InvalidArgumentException;
|
|||||||
use Box\Spout\Common\Exception\IOException;
|
use Box\Spout\Common\Exception\IOException;
|
||||||
use Box\Spout\Common\Exception\SpoutException;
|
use Box\Spout\Common\Exception\SpoutException;
|
||||||
use Box\Spout\Common\Helper\FileSystemHelper;
|
use Box\Spout\Common\Helper\FileSystemHelper;
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerInterface;
|
use Box\Spout\Writer\Common\Manager\OptionsManagerInterface;
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\Exception\WriterAlreadyOpenedException;
|
use Box\Spout\Writer\Exception\WriterAlreadyOpenedException;
|
||||||
use Box\Spout\Writer\Exception\WriterNotOpenedException;
|
use Box\Spout\Writer\Exception\WriterNotOpenedException;
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ abstract class WriterAbstract implements WriterInterface
|
|||||||
/** @var \Box\Spout\Common\Helper\GlobalFunctionsHelper Helper to work with global functions */
|
/** @var \Box\Spout\Common\Helper\GlobalFunctionsHelper Helper to work with global functions */
|
||||||
protected $globalFunctionsHelper;
|
protected $globalFunctionsHelper;
|
||||||
|
|
||||||
/** @var \Box\Spout\Writer\Manager\OptionsManagerInterface Writer options manager */
|
/** @var \Box\Spout\Writer\Common\Manager\OptionsManagerInterface Writer options manager */
|
||||||
protected $optionsManager;
|
protected $optionsManager;
|
||||||
|
|
||||||
/** @var Style\Style Style to be applied to the next written row(s) */
|
/** @var Style\Style Style to be applied to the next written row(s) */
|
||||||
@ -66,7 +66,7 @@ abstract class WriterAbstract implements WriterInterface
|
|||||||
abstract protected function closeWriter();
|
abstract protected function closeWriter();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param \Box\Spout\Writer\Manager\OptionsManagerInterface $optionsManager
|
* @param \Box\Spout\Writer\Common\Manager\OptionsManagerInterface $optionsManager
|
||||||
*/
|
*/
|
||||||
public function __construct(OptionsManagerInterface $optionsManager)
|
public function __construct(OptionsManagerInterface $optionsManager)
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@ namespace Box\Spout\Writer;
|
|||||||
use Box\Spout\Common\Exception\UnsupportedTypeException;
|
use Box\Spout\Common\Exception\UnsupportedTypeException;
|
||||||
use Box\Spout\Common\Helper\GlobalFunctionsHelper;
|
use Box\Spout\Common\Helper\GlobalFunctionsHelper;
|
||||||
use Box\Spout\Common\Type;
|
use Box\Spout\Common\Type;
|
||||||
use Box\Spout\Writer\Creator\EntityFactory;
|
use Box\Spout\Writer\Common\Creator\EntityFactory;
|
||||||
use Box\Spout\Writer\Style\StyleBuilder;
|
use Box\Spout\Writer\Style\StyleBuilder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Box\Spout\Writer;
|
namespace Box\Spout\Writer;
|
||||||
|
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerInterface;
|
use Box\Spout\Writer\Common\Manager\OptionsManagerInterface;
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\Entity\Worksheet;
|
use Box\Spout\Writer\Common\Entity\Worksheet;
|
||||||
use Box\Spout\Writer\Exception\WriterNotOpenedException;
|
use Box\Spout\Writer\Exception\WriterNotOpenedException;
|
||||||
use Box\Spout\Writer\Creator\InternalFactoryInterface;
|
use Box\Spout\Writer\Common\Creator\InternalFactoryInterface;
|
||||||
use Box\Spout\Writer\Manager\WorkbookManagerInterface;
|
use Box\Spout\Writer\Common\Manager\WorkbookManagerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class WriterMultiSheetsAbstract
|
* Class WriterMultiSheetsAbstract
|
||||||
|
@ -4,12 +4,12 @@ namespace Box\Spout\Writer\XLSX\Creator;
|
|||||||
|
|
||||||
use Box\Spout\Common\Escaper;
|
use Box\Spout\Common\Escaper;
|
||||||
use Box\Spout\Common\Helper\StringHelper;
|
use Box\Spout\Common\Helper\StringHelper;
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerInterface;
|
use Box\Spout\Writer\Common\Manager\OptionsManagerInterface;
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\Creator\EntityFactory;
|
use Box\Spout\Writer\Common\Creator\EntityFactory;
|
||||||
use Box\Spout\Writer\Creator\InternalFactoryInterface;
|
use Box\Spout\Writer\Common\Creator\InternalFactoryInterface;
|
||||||
use Box\Spout\Writer\Creator\WorkbookFactory;
|
use Box\Spout\Writer\Common\Creator\WorkbookFactory;
|
||||||
use Box\Spout\Writer\Creator\WorksheetFactory;
|
use Box\Spout\Writer\Common\Creator\WorksheetFactory;
|
||||||
use Box\Spout\Writer\XLSX\Helper\FileSystemHelper;
|
use Box\Spout\Writer\XLSX\Helper\FileSystemHelper;
|
||||||
use Box\Spout\Writer\XLSX\Helper\SharedStringsHelper;
|
use Box\Spout\Writer\XLSX\Helper\SharedStringsHelper;
|
||||||
use Box\Spout\Writer\XLSX\Helper\StyleHelper;
|
use Box\Spout\Writer\XLSX\Helper\StyleHelper;
|
||||||
|
@ -4,7 +4,7 @@ namespace Box\Spout\Writer\XLSX\Helper;
|
|||||||
|
|
||||||
use Box\Spout\Writer\Common\Helper\FileSystemWithRootFolderHelperInterface;
|
use Box\Spout\Writer\Common\Helper\FileSystemWithRootFolderHelperInterface;
|
||||||
use Box\Spout\Writer\Common\Helper\ZipHelper;
|
use Box\Spout\Writer\Common\Helper\ZipHelper;
|
||||||
use Box\Spout\Writer\Entity\Worksheet;
|
use Box\Spout\Writer\Common\Entity\Worksheet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FileSystemHelper
|
* Class FileSystemHelper
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Box\Spout\Writer\XLSX\Manager;
|
namespace Box\Spout\Writer\XLSX\Manager;
|
||||||
|
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerAbstract;
|
use Box\Spout\Writer\Common\Manager\OptionsManagerAbstract;
|
||||||
use Box\Spout\Writer\Style\StyleBuilder;
|
use Box\Spout\Writer\Style\StyleBuilder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
namespace Box\Spout\Writer\XLSX\Manager;
|
namespace Box\Spout\Writer\XLSX\Manager;
|
||||||
|
|
||||||
use Box\Spout\Writer\Common\Sheet;
|
use Box\Spout\Writer\Common\Sheet;
|
||||||
use Box\Spout\Writer\Manager\WorkbookManagerAbstract;
|
use Box\Spout\Writer\Common\Manager\WorkbookManagerAbstract;
|
||||||
use Box\Spout\Writer\XLSX\Helper\FileSystemHelper;
|
use Box\Spout\Writer\XLSX\Helper\FileSystemHelper;
|
||||||
use Box\Spout\Writer\XLSX\Helper\StyleHelper;
|
use Box\Spout\Writer\XLSX\Helper\StyleHelper;
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@ use Box\Spout\Common\Exception\InvalidArgumentException;
|
|||||||
use Box\Spout\Common\Exception\IOException;
|
use Box\Spout\Common\Exception\IOException;
|
||||||
use Box\Spout\Common\Helper\StringHelper;
|
use Box\Spout\Common\Helper\StringHelper;
|
||||||
use Box\Spout\Writer\Common\Helper\CellHelper;
|
use Box\Spout\Writer\Common\Helper\CellHelper;
|
||||||
use Box\Spout\Writer\Manager\OptionsManagerInterface;
|
use Box\Spout\Writer\Common\Manager\OptionsManagerInterface;
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\Entity\Cell;
|
use Box\Spout\Writer\Common\Entity\Cell;
|
||||||
use Box\Spout\Writer\Entity\Worksheet;
|
use Box\Spout\Writer\Common\Entity\Worksheet;
|
||||||
use Box\Spout\Writer\Manager\WorksheetManagerInterface;
|
use Box\Spout\Writer\Common\Manager\WorksheetManagerInterface;
|
||||||
use Box\Spout\Writer\Style\Style;
|
use Box\Spout\Writer\Style\Style;
|
||||||
use Box\Spout\Writer\XLSX\Helper\SharedStringsHelper;
|
use Box\Spout\Writer\XLSX\Helper\SharedStringsHelper;
|
||||||
use Box\Spout\Writer\XLSX\Helper\StyleHelper;
|
use Box\Spout\Writer\XLSX\Helper\StyleHelper;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Box\Spout\Writer\XLSX;
|
namespace Box\Spout\Writer\XLSX;
|
||||||
|
|
||||||
use Box\Spout\Writer\Entity\Options;
|
use Box\Spout\Writer\Common\Entity\Options;
|
||||||
use Box\Spout\Writer\WriterMultiSheetsAbstract;
|
use Box\Spout\Writer\WriterMultiSheetsAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -5,7 +5,7 @@ namespace Box\Spout\Writer\CSV;
|
|||||||
use Box\Spout\TestUsingResource;
|
use Box\Spout\TestUsingResource;
|
||||||
use Box\Spout\Common\Type;
|
use Box\Spout\Common\Type;
|
||||||
use Box\Spout\Common\Helper\EncodingHelper;
|
use Box\Spout\Common\Helper\EncodingHelper;
|
||||||
use Box\Spout\Writer\Entity\Cell;
|
use Box\Spout\Writer\Common\Entity\Cell;
|
||||||
use Box\Spout\Writer\WriterFactory;
|
use Box\Spout\Writer\WriterFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Box\Spout\Writer\Manager;
|
namespace Box\Spout\Writer\Common\Manager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class OptionsManagerTest
|
* Class OptionsManagerTest
|
||||||
*
|
*
|
||||||
* @package Box\Spout\Writer\Manager
|
* @package Box\Spout\Writer\Common\Manager
|
||||||
*/
|
*/
|
||||||
class OptionsManagerTest extends \PHPUnit_Framework_TestCase
|
class OptionsManagerTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
@ -7,7 +7,7 @@ use Box\Spout\Common\Type;
|
|||||||
use Box\Spout\Reader\Wrapper\XMLReader;
|
use Box\Spout\Reader\Wrapper\XMLReader;
|
||||||
use Box\Spout\TestUsingResource;
|
use Box\Spout\TestUsingResource;
|
||||||
use Box\Spout\Writer\Common\Helper\ZipHelper;
|
use Box\Spout\Writer\Common\Helper\ZipHelper;
|
||||||
use Box\Spout\Writer\Entity\Cell;
|
use Box\Spout\Writer\Common\Entity\Cell;
|
||||||
use Box\Spout\Writer\WriterFactory;
|
use Box\Spout\Writer\WriterFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -5,7 +5,7 @@ namespace Box\Spout\Writer\XLSX;
|
|||||||
use Box\Spout\Common\Exception\SpoutException;
|
use Box\Spout\Common\Exception\SpoutException;
|
||||||
use Box\Spout\Common\Type;
|
use Box\Spout\Common\Type;
|
||||||
use Box\Spout\TestUsingResource;
|
use Box\Spout\TestUsingResource;
|
||||||
use Box\Spout\Writer\Entity\Cell;
|
use Box\Spout\Writer\Common\Entity\Cell;
|
||||||
use Box\Spout\Writer\WriterFactory;
|
use Box\Spout\Writer\WriterFactory;
|
||||||
use Box\Spout\Writer\XLSX\Manager\WorksheetManager;
|
use Box\Spout\Writer\XLSX\Manager\WorksheetManager;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user