Implements Drupal\Component\Archiver\ArchiveInterface::add().
Overrides ArchiverInterface::add
File
- drupal/core/lib/Drupal/Component/Archiver/Tar.php, line 39
- Definition of Drupal\Component\Archiver\Tar.
Class
- Tar
- Defines a archiver implementation for .tar files.
Namespace
Drupal\Component\Archiver
Code
public function add($file_path) {
$this->tar
->add($file_path);
return $this;
}