columns() as $column) { $blockIndex = 0; foreach ($column->blocks() as $block) { $rows[$blockIndex][] = $block->text(); $blockIndex++; } } } return $rows; }