Box\Spout\Writer\Common\Sheet::__construct PHP Method

__construct() public method

public __construct ( integer $sheetIndex )
$sheetIndex integer Index of the sheet, based on order in the workbook (zero-based)
    public function __construct($sheetIndex)
    {
        $this->index = $sheetIndex;
        $this->stringHelper = new StringHelper();
        $this->setName(self::DEFAULT_SHEET_NAME_PREFIX . ($sheetIndex + 1));
    }