original_string: protected function getFilenames(Collection $files)
      {
          $paths = $files->getFilenames();
          if (count($paths) < 1) {
              throw new FilesNotFoundException();
          }
          $this->log('Starting to process ' . count($paths) . ' files');
  
          return $paths;
      }
code: protected function getFilenames(Collection $files)
      {
          $paths = $files->getFilenames();
          if (count($paths) < 1) {
              throw new FilesNotFoundException();
          }
          $this->log('Starting to process ' . count($paths) . ' files');
  
          return $paths;
      }
code_tokens: protected function getFilenames ( Collection $ files ) { $ paths = $ files -> getFilenames ( ) ; if ( count ( $ paths ) < 1 ) { throw new FilesNotFoundException ( ) ; } $ this -> log ( 'Starting to process ' . count ( $ paths ) . ' files' ) ; return $ paths ; }
docstring: Extract all filenames from the given collection and output the amount of files.
  
  @param Collection $files
  
  @throws FilesNotFoundException if no files were found.
  
  @return string[]
docstring_tokens: Extract all filenames from the given collection and output the amount of files .