for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Box\Spout\Writer\Entity;
/**
* Class Workbook
* Entity describing a workbook
*
* @package Box\Spout\Writer\Entity
*/
class Workbook
{
/** @var Worksheet[] List of the workbook's sheets */
private $worksheets = [];
/** @var string Timestamp based unique ID identifying the workbook */
private $internalId;
* Workbook constructor.
public function __construct()
$this->internalId = uniqid();
}
* @return Worksheet[]
public function getWorksheets()
return $this->worksheets;
* @param Worksheet[] $worksheets
public function setWorksheets($worksheets)
$this->worksheets = $worksheets;
* @return string
public function getInternalId()
return $this->internalId;
* @param string $internalId
public function setInternalId($internalId)
$this->internalId = $internalId;