|
@@ 182-183 (lines=2) @@
|
| 179 |
|
for ($i = 0; $i < $rowCount; ++$i) { |
| 180 |
|
$data = []; |
| 181 |
|
|
| 182 |
|
foreach ($this->_metadata['columns'] as $column) |
| 183 |
|
$data[$column['name']] = $this->_stream->readValue($column['type']); |
| 184 |
|
|
| 185 |
|
$rows[$i] = $rowClass === null ? $data : new $rowClass($data); |
| 186 |
|
} |
|
@@ 283-284 (lines=2) @@
|
| 280 |
|
$rowClass = $this->_rowClass; |
| 281 |
|
|
| 282 |
|
$data = []; |
| 283 |
|
foreach ($this->_metadata['columns'] as $column) |
| 284 |
|
$data[$column['name']] = $this->_stream->readValue($column['type']); |
| 285 |
|
|
| 286 |
|
return $rowClass === null ? $data : new $rowClass($data); |
| 287 |
|
} |