original_string: private function makeIndexedByRecordNameDataTable($blobRow, $keyMetadata)
      {
          $table = new DataTable\Map();
          $table->setKeyName('recordName');
  
          $tableMetadata = array_merge(DataCollection::getDataRowMetadata($blobRow), $keyMetadata);
  
          foreach ($blobRow as $name => $blob) {
              $newTable = DataTable::fromSerializedArray($blob);
              $newTable->setAllTableMetadata($tableMetadata);
  
              $table->addTable($newTable, $name);
          }
  
          return $table;
      }
code: private function makeIndexedByRecordNameDataTable($blobRow, $keyMetadata)
      {
          $table = new DataTable\Map();
          $table->setKeyName('recordName');
  
          $tableMetadata = array_merge(DataCollection::getDataRowMetadata($blobRow), $keyMetadata);
  
          foreach ($blobRow as $name => $blob) {
              $newTable = DataTable::fromSerializedArray($blob);
              $newTable->setAllTableMetadata($tableMetadata);
  
              $table->addTable($newTable, $name);
          }
  
          return $table;
      }
code_tokens: private function makeIndexedByRecordNameDataTable ( $ blobRow , $ keyMetadata ) { $ table = new DataTable \ Map ( ) ; $ table -> setKeyName ( 'recordName' ) ; $ tableMetadata = array_merge ( DataCollection :: getDataRowMetadata ( $ blobRow ) , $ keyMetadata ) ; foreach ( $ blobRow as $ name => $ blob ) { $ newTable = DataTable :: fromSerializedArray ( $ blob ) ; $ newTable -> setAllTableMetadata ( $ tableMetadata ) ; $ table -> addTable ( $ newTable , $ name ) ; } return $ table ; }
docstring: Creates a DataTable for every record in an archive data row and puts them
  in a DataTable\Map instance.
  
  @param array $blobRow
  @return DataTable\Map
docstring_tokens: Creates a DataTable for every record in an archive data row and puts them in a DataTable \ Map instance .