original_string: protected function processSomeFiles($models, $media)
      {
          foreach ($models as $model) {
              foreach ($model->getMediaFiles() as $file) {
                  if (in_array($file->name, $media)) {
                      $file->reprocess();
                  }
              }
          }
      }
code: protected function processSomeFiles($models, $media)
      {
          foreach ($models as $model) {
              foreach ($model->getMediaFiles() as $file) {
                  if (in_array($file->name, $media)) {
                      $file->reprocess();
                  }
              }
          }
      }
code_tokens: protected function processSomeFiles ( $ models , $ media ) { foreach ( $ models as $ model ) { foreach ( $ model -> getMediaFiles ( ) as $ file ) { if ( in_array ( $ file -> name , $ media ) ) { $ file -> reprocess ( ) ; } } } }
docstring: Process a only a specified subset of MediaSort files.
  
  @param array $media
  
  @return void
docstring_tokens: Process a only a specified subset of MediaSort files .