| 1 | <?php |
||
| 9 | final class GenericRow |
||
| 10 | { |
||
| 11 | /** @var array */ |
||
| 12 | private $columns = []; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param array $columns |
||
| 16 | */ |
||
| 17 | public function __construct(array $columns) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return array |
||
| 24 | */ |
||
| 25 | public function getColumns(): array |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param int $index |
||
| 32 | * |
||
| 33 | * @return array|mixed|null |
||
| 34 | */ |
||
| 35 | public function getColumnValue(int $index) |
||
| 39 | } |
||
| 40 |