original_string: private function getTablesSummary($statuses)
      {
          $dataTable = new DataTable();
          foreach ($statuses as $status) {
              $dataTable->addRowFromSimpleArray(array(
                                                     'label'      => $status['Name'],
                                                     'data_size'  => $status['Data_length'],
                                                     'index_size' => $status['Index_length'],
                                                     'row_count'  => $status['Rows']
                                                ));
          }
          return $dataTable;
      }
code: private function getTablesSummary($statuses)
      {
          $dataTable = new DataTable();
          foreach ($statuses as $status) {
              $dataTable->addRowFromSimpleArray(array(
                                                     'label'      => $status['Name'],
                                                     'data_size'  => $status['Data_length'],
                                                     'index_size' => $status['Index_length'],
                                                     'row_count'  => $status['Rows']
                                                ));
          }
          return $dataTable;
      }
code_tokens: private function getTablesSummary ( $ statuses ) { $ dataTable = new DataTable ( ) ; foreach ( $ statuses as $ status ) { $ dataTable -> addRowFromSimpleArray ( array ( 'label' => $ status [ 'Name' ] , 'data_size' => $ status [ 'Data_length' ] , 'index_size' => $ status [ 'Index_length' ] , 'row_count' => $ status [ 'Rows' ] ) ) ; } return $ dataTable ; }
docstring: Returns a datatable representation of a set of table statuses.
  
  @param array $statuses The table statuses to summarize.
  @return DataTable
docstring_tokens: Returns a datatable representation of a set of table statuses .