code: protected function transformForTable($data)
      {
          $result = [];
          foreach ($data as $key => $value) {
              $result[] = [$key, $value];
          }
  
          return $result;
      }
docs: Transforms an assoc array into a multidementional one
  which is expected by helper table() method.
  
  @param $data
  
  @return array