public function UpdateTestArchiver::add in Drupal 8
Same name and namespace in other branches
- 9 core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php \Drupal\update_test\Plugin\Archiver\UpdateTestArchiver::add()
Adds the specified file or directory to the archive.
Parameters
string $file_path: The full system path of the file or directory to add. Only local files and directories are supported.
Return value
$this The called object.
Overrides ArchiverInterface::add
File
- core/
modules/ update/ tests/ modules/ update_test/ src/ Plugin/ Archiver/ UpdateTestArchiver.php, line 21
Class
- UpdateTestArchiver
- Defines a test archiver implementation.
Namespace
Drupal\update_test\Plugin\ArchiverCode
public function add($file_path) {
return $this;
}