Skip to content

Commit

Permalink
Added getters
Browse files Browse the repository at this point in the history
  • Loading branch information
JPustkuchen committed Jun 11, 2021
1 parent 1828294 commit ede669a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Elements/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,24 @@ public function removeHeaderlessColumns(): Table {
}
return $this;
}

/**
* Get the table header row.
*
* @return TableRow
*/
public function getHeader(): TableRow
{
return $this->header;
}

/**
* Get all further rows.
*
* @return array
*/
public function getRows(): array
{
return $this->rows;
}
}

0 comments on commit ede669a

Please sign in to comment.