/**
  * Handle the command.
  *
  * @param ValueTableBuilder $builder
  */
 public function handle(ValueTableBuilder $builder)
 {
     $builder->setColumns(['entry.preview' => ['heading' => 'anomaly.module.files::field.preview.name'], 'name' => ['sort_column' => 'name', 'wrapper' => '
                 <h4>
                     {value.link}
                     <br>
                     <small>{value.disk}://{value.folder}/{value.file}</small>
                     <small>{value.size}{value.keywords}</small>
                 </h4>', 'value' => ['file' => 'entry.name', 'link' => 'entry.edit_link', 'folder' => 'entry.folder.slug', 'keywords' => 'entry.keywords.labels', 'disk' => 'entry.folder.disk.slug', 'size' => function (FileInterface $entry) {
         if (!in_array($entry->getExtension(), config('anomaly.module.files::mimes.thumbnails'))) {
             return null;
         }
         return '<span class="label label-info">' . $entry->getWidth() . ' x ' . $entry->getHeight() . '</span>';
     }]]]);
 }
 /**
  * Return a table of select items.
  *
  * @param  ValueTableBuilder $table
  * @return null|string
  */
 public function selected(ValueTableBuilder $table)
 {
     return $table->setUploaded(explode(',', $this->request->get('uploaded')))->make()->getTableContent();
 }