$cache
$cache : \Psr\SimpleCache\CacheInterface
$cache : \Psr\SimpleCache\CacheInterface
$parent : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Parent worksheet.
$currentCell : \PhpOffice\PhpSpreadsheet\Cell\Cell
The currently active Cell.
__construct(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $parent, \Psr\SimpleCache\CacheInterface $cache)
Initialise this new cell collection.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $parent | The worksheet for this cell collection |
\Psr\SimpleCache\CacheInterface | $cache |
getParent() : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Return the parent worksheet for this cell collection.
update(\PhpOffice\PhpSpreadsheet\Cell\Cell $cell) : \PhpOffice\PhpSpreadsheet\Cell\Cell
Add or update a cell in the collection.
\PhpOffice\PhpSpreadsheet\Cell\Cell | $cell | Cell to update |
cloneCellCollection(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $parent) : self
Clone the cell collection.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $parent | The new worksheet that we're copying to |
add(string $pCoord, \PhpOffice\PhpSpreadsheet\Cell\Cell $cell) : \PhpOffice\PhpSpreadsheet\Cell\Cell
Add or update a cell identified by its coordinate into the collection.
string | $pCoord | Coordinate of the cell to update |
\PhpOffice\PhpSpreadsheet\Cell\Cell | $cell | Cell to update |
get(string $pCoord) : \PhpOffice\PhpSpreadsheet\Cell\Cell
Get cell at a specific coordinate.
string | $pCoord | Coordinate of the cell |
Cell that was found, or null if not found
Loading…