public final FileTransfer::copyDirectory($source, $destination)
Copies a directory.
Parameters
string $source: The source path.
string $destination: The destination path.
File
- core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 118
Class
- FileTransfer
- Defines the base FileTransfer class.
Namespace
Drupal\Core\FileTransfer
Code
public final function copyDirectory($source, $destination) { $source = $this->sanitizePath($source); $destination = $this->fixRemotePath($destination); $this->checkPath($destination); $this->copyDirectoryJailed($source, $destination); }
Please login to continue.