private function resolveRows(Grid $grid) : array { return array_map([$this, 'resolveRow'], array_keys($grid->cells()), $grid->cells()); }