Make XLSX reader return Row objects
This commit is contained in:
1 parent
a665b974fa
commit
78b6639480
12 files changed
+272
-96
No files matched your search
@@ -29,7 +29,7 @@ class Row
|
||||
|
||||
/**
|
||||
* @param Cell[] $cells
|
||||
* @return $this
|
||||
* @return Row
|
||||
*/
|
||||
public function setCells(array $cells)
|
||||
{
|
||||
@@ -41,6 +41,19 @@ class Row
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Cell $cell
|
||||
* @param mixed $cellIndex
|
||||
* @parma int $cellIndex
|
||||
* @return Row
|
||||
*/
|
||||
public function setCellAtIndex(Cell $cell, $cellIndex)
|
||||
{
|
||||
$this->cells[$cellIndex] = $cell;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Cell $cell
|
||||
* @return Row
|
||||
|
||||
Reference in new issue
Block a user