Example #1
0
 /**
  * Add single file to the collection.
  *
  * @param FilesystemContract $file
  * @param string $namespace
  */
 protected function add(FilesystemContract $file, $namespace = '')
 {
     $this->backup->addToCollection(['name' => $file->asset(), 'path' => $file->fullPath()], $namespace);
 }