public function Tar::add in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Archiver/Tar.php \Drupal\Core\Archiver\Tar::add()
- 9 core/lib/Drupal/Core/Archiver/Tar.php \Drupal\Core\Archiver\Tar::add()
File
- core/lib/ Drupal/ Core/ Archiver/ Tar.php, line 34 
Class
- Tar
- Defines an archiver implementation for .tar files.
Namespace
Drupal\Core\ArchiverCode
public function add($file_path) {
  $this->tar
    ->add($file_path);
  return $this;
}