code: public static final function generateThumbnailsFrom($files, array $size)
      {
          foreach($files as $file) {
              self::generateThumbnail($file->getRecord(), $size);
          }
      }
docs: Generates a thumbnails of the files associated with the record
  
  @param \Vegas\Media\File\Decorator[] $files
  @param array $size